rivSurveyR: rivSurveyR-package

Description Details Disclaimer Additional Information Author(s) References

Description

rivSurveyR: A Package to Process Water Velocities Collected With SonTek Acoustic Doppler Current Profilers

Details

The rivSurveyR package accepts acoustic Doppler current profiler (ADCP) data exported from SonTek's RiverSurveyor Live program as MATLAB files and allows quick summarization and plotting of water velocities. It is capable of projecting replicate transects to a mean transect line and averaging measured values that overlap in geographic space. Planform and secondary velocities from multiple ADCP transects can be processed at once and multiple rotation methods can be used to determine secondary velocities. Planform flow data can be plotted in geographic space and cross-section plots of secondary velocities can easily be constructed.

Primary functions:

process.planform summarizes replicated ADCP data, calculates water speeds, flow headings, transect direction (from river right), distance along transect, shear velocities, and conducts spatial averaging.

process.secondary summarizes ADCP cell data exported from SonTek RiverSurveyor, calculates primary and secondary velocities, and conducts spatial averaging.

plot.planform plots spatial data from an object of class "adcp.planform".

plot.xSec plots cross-section velocities given an object of class "adcp.secondary".

Secondary functions:

xSec.planform compiles planform ADCP data exported from SonTek RiverSurveyor as Matlab file into an object of class "adcp.planform" which inherits from data.table.

average.planform applies a function summarizing replicated ADCP data and calculates water speeds, flow headings, transect direction (from river right), and distance along transect.

shearVel calculates shear velocity from ADCP measurements.

spatialAverage averages spatially referenced data using a moving window.

spatialSD computes the standard deviation of spatially referenced data using a moving window

xSec.secondary compiles ADCP cell data exported from SonTek RiverSurveyor as MatLab file into an object of class "adcp.secondary" which inherits from data.table.

average.secondary applies a function summarizing replicated ADCP data and calculates transect direction (from river right) and distance along transect.

xSec rotates velocities to be parallel and perpendicular to a cross-section.

zeroSecQ uses the zero secondary discharge method of rotation to calculate secondary velocities within a cross-section.

rozovskii uses the Rozovskii method of rotation to calculate secondary velocities within a cross-section.

plot.xSec.default plots cross-section velocities given an object of class "adcp.secondary".

Other functions:

ortho.proj calculates the x and y coordinates along an orthogonal plane, given the linear regression coefficients of y~x.

project.transect orthogonally projects x and y coordinates of replicated ADCP transects to a mean transect line.

transectHeading determines the compass heading of a cross-section transect, assuming transect starts at river right.

heading calculates the degree heading of two velocity vectors.

layerAvg calculates the integrated mean of y within the defined bounds of x.

jet.colors create a vector of n continuous colors from blue to red.

black.white create a vector of n continuous colors from black to white.

white.black create a vector of n continuous colors from white to black.

Example data:

mNine is a dataset of SonTek ADCP transects exported from RiverSurveyor Live as Matlab files.

vels is a dataset of processed planform data collected with a SonTek m9 ADCP.

cellVels is a dataset of processed cross-section data collected with a SonTek m9 ADCP.

Disclaimer

Although this program has been used by the USGS, no warranty, expressed or implied, is made by the USGS or the United States Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

Additional Information

U.S. Geological Survey (USGS) Computer Program rivSurveyR version 2.1-0

Written by Jason L. Fischer, USGS - Great Lakes Science Center; glsc.usgs.gov; Ann Arbor, Michigan, USA.

Written in programming language R (R Core Team, 2015, R-project.org), version 3.3.0 (2016-05-03).

Run on a PC with Intel(R) Core(TM) i5 CPU, M 520 at 2.40 GHz processor, 8.0 GB RAM, and Microsoft Windows 7 Enterprise operating system 2009 Service Pack 1.

Source code is available from Jason L. Fischer on GitHub github.com/jasonfischer/rivSurveyR, jfischer (at) usgs (dot) gov.

Author(s)

Jason L. Fischer

References

Cheng-Lung, 1991 "Unified Theory on Power Laws for Flow Resistance." Journal of Hydraulic Engineering, 117, 371–389.

Czuba, J.A., Best, J.L., Oberg, K.A., Parsons, D.R., Jackson, P.R., Garcia, M.H., Ashmore, P., 2011 Bed morphology, flow structure, and sediment transport at the outlet of Lake Huron and in the upper St. Clair River. Journal of Great Lakes Research 37, 480–493.

Garcia, M.H., 2008 Sediment transport and morphodynamics, chap. 2. In: Garcia, M.H. (Ed.), Sedimentation Engineering: Processes, Measurements, Modeling, and Practice No. 110. American Society of Civil Engineers, Reston, Virginia, pp. 21–163.

Keulegan, G.H., 1938 Laws of turbulent flow in open channels. Journal of Research of the National Bureau Standards 21, 707–741.

Lane, S.N., Bradbrook, K.F., Richards, K.S., Biron, P.M., Roy, A.G., 2000 Secondary circulation cells in river channel confluences: Measurement artefacts or coherent flow structures? Hydrological Processes 14, 2047–2071.

Mueller, D.S., Wagner, C.R., Rehmel, M.S., Oberg, K.A,, Rainville, F., 2013 Measuring discharge with acoustic Doppler current profilers from a moving boat (ver. 2.0, December 2013): U.S. Geological Survey Techniques and Methods, book 3, chap. A22, 95p.

Parsons, D.R., Jackson, P.R., Czuba, J.A., Engel, F.L., Rhoads, B.L., Oberg, K.A., Best, J.L., Mueller, D.S., Johnson, K.K., Riley, J.D., 2013 Velocity mapping toolbox (VMT): A processing and visualization suite for moving-vessel ADCP measurements. Earth Surface Processes and Landforms 38, 1244–1260.

Rhoads, B.L., Kenworthy, S.T., 1998 Time-averaged flow structure in the central region of a stream confluence. Earth Surface Processes and Landforms 23, 171–191.

Simpson, M.R., Oltmann, R.N., 1990 "An Acoustic Doppler Discharge Measurement System." Proceedings of the 1990 National Conference on Hydraulic Engineering, 2, 903–908.

Szupiany, R.N., Amsler, M.L., Best, J.L., Parsons, D.R., 2007 Comparison of fixed- and moving-vessel flow measurements with aDp in large a river. Journal of Hydraulic Engineering 133, 1299–1309.


jasonfischer/rivSurveyR documentation built on May 18, 2019, 5:54 p.m.