closestQGHT: Merge sample times and continuous data by the closest point

Description Usage Arguments Value

View source: R/sample_flows.R

Description

Not to be used directly, but for getSampleQ

Usage

1
closestQGHT(sample_data, cont_data, maxDiff = 4)

Arguments

sample_data

sample times from getSampleTimes

cont_data

continuous streamflow and gage height data from getQGHT

maxDiff

the maximum gap, in hours, in the continuous data that will be used for merging. Any gaps greater than this will show NA for the continuous data

Value

sample data joined with the closest (in time) continuous time series point


PatrickEslick/CWQkitr documentation built on Dec. 12, 2019, 12:55 a.m.