Description Usage Arguments Details Value See Also Examples
Function to find box coefficient pairs between SSC point samples (pumped or grab) and SSC cross-section samples (EWI,EDI,EWT) at a site.
1 2 3 4 5 6 7 8 | find_boxcoef(
x,
site_no = NULL,
timediff = 1,
methods_NX = c(30, 40, 50, 55, 70, 100, 900, 920, 930, 940, 4033, 4080),
methods_X = c(10, 15, 20),
includeUV = FALSE
)
|
x |
A |
site_no |
Character of a site number in the x |
timediff |
Number of hours to look before and after a point sample for a paired cross-section sample. Default is 1 (ie. look for a paired samples 1 hour before and 1 hour after a non-cross section/point sample timestamp) |
methods_NX |
Vector of Sampling Method (P82398) values that define non-cross section/point samples of the box coefficient.
Default is: |
methods_X |
Vector of Sampling Method (P82398) values that define cross section samples of the box coefficient.
Default is: |
includeUV |
Logical. If |
Returns a dataframe of paired samples, flow values, and calculated box coefficient at given site_no for SSC (P80154).
A summary count of all box coefficient pairs for all sites in
x
can be found using the related function summary_boxcoef
.
The function finds non-cross section/point samples defined by methods_NX
and all possible cross section pairs
within the time window (ex. a grab sample and 2 EWI passes (A and B passes) would yield 2 pairs. It is up to the user to
determine which box coefficients to utilize based on timing, flow conditions, and other considerations.
Rejected samples are not included.
A dataframe containing sample pairs with SSC result values of point and cross-section sample, with date/time stamps.
get_localNWIS
, get_UVflow
, summary_boxcoef
1 2 3 4 5 6 7 8 9 | data("exampleData",package="sedReview")
x <- exampleData
#find box coefficient sample pairs at site 05586300
boxcoef_05586300 <- find_boxcoef(x, site_no = "05586300")
#find box coefficient sample pairs at site 06934500
#and expand paired sample window to +/- 2 hours from point sample
boxcoef_06934500 <- find_boxcoef(x, site_no = "06934500", timediff = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.