Description Usage Arguments Details Value See Also Examples
View source: R/read_observations.R
ReadCoDwrGage
reads CO DWR gage data table (streamflow and/or stage)
and puts into a dataframe.
1 2 | ReadCoDwrGage(pathGageData, returnMetric = TRUE, returnEnglish = TRUE,
timeZone = "America/Denver")
|
pathGageData |
The full pathname to the streamflow/stage time series text file as downloaded from CO DWR. The file should include the standard CO DWR header info and the data time series with standard CO DWR columns. |
returnMetric |
Logical: Return variables in these units (cms and m) |
returnEnglish |
Logical: Return variables in english units (cfs and ft) |
timeZone |
(OPTIONAL) The time zone for the gage data (DEFAULT="America/Denver", which is MST/MDT). Time zone name must be R-friendly for your current OS. See: http://stat.ethz.ch/R-manual/R-devel/library/base/html/timezones.html |
ReadCoDwrGage
reads a streamflow or stage time series data table
(standard CO DWR data format) and outputs a dataframe with consistent date
and data columns for use with other rwrfhydro tools.
A dataframe containing the flow and/or stage data.
Other obsDataReads: GetStage4Files
,
ReadAmerifluxCSVOldFormat
,
ReadAmerifluxNCOldFormat
,
ReadUsgsGage
1 2 3 4 5 6 7 8 9 10 | ## Take a text file downloaded from the CO DWR website for 15-minute flow
## at Alamosa River and create a dataframe called "obsStr15min.alaterco".
## Not run:
obsStr15min.alaterco <-
ReadCoDwrGage("../OBS/STRFLOW/ALATERCO_41715103512.txt")
obsStr15min.alaterco <-
ReadCoDwrGage("../OBS/STRFLOW/ALATERCO_41715103512.txt", returnEnglish=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.