Description Usage Arguments Details Value See Also Examples
View source: R/ameriflux_get.R
ReadAmerifluxCSVOldFormat
reads Ameriflux data table (Level 2 standardized CSV
file) and creates a dataframe. OLDER FORMAT ONLY - NO LONGER SUPPORTED.
1 2 | ReadAmerifluxCSVOldFormat(pathFluxData, timeZone = NULL,
utcOffset = NULL)
|
pathFluxData |
The full pathname to the flux time series CSV file as downloaded from an Ameriflux data server. (OLD FORMAT) |
timeZone |
The time zone for the flux site. 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. Provide this OR a UTC offset. Note that Ameriflux data is (allegedly!) in local time without daylight savings. |
utcOffset |
The UTC offset for the flux site's local time. These should be in positive or negative hours (e.g., -7 for "America/Denver" with no DST shift). These values will supercede any provided time zones. See tzLookup for a list of time zone UTC offsets. |
ReadAmerifluxCSVOldFormat
reads an Ameriflux Level 2 standardized CSV file and
outputs a dataframe with consistent date and data columns for use with other
rwrfhydro tools. OLDER FORMAT ONLY - NO LONGER SUPPORTED. Please use
ReadAmeriflux for the latest BASE format support.
A dataframe containing the Ameriflux data.
Other obsDataReads: GetStage4Files
,
ReadAmerifluxNCOldFormat
,
ReadCoDwrGage
, ReadUsgsGage
1 2 3 4 5 6 7 8 | ## Takes a CSV file downloaded from the ORNL Amerifux website for US-NR1 (Niwot Ridge)
## and returns a dataframe.
## Not run:
obsFlux30min.usnr1 <-
ReadAmerifluxCSV("../OBS/FLUX/AMF_USNR1_2013_L2_GF_V008.csv", utcOffset=-7)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.