Description Usage Arguments Details Value See Also Examples
View source: R/ameriflux_get.R
ReadAmerifluxNCOldFormat
reads Ameriflux data table (Level 2 standardized
NetCDF file) and creates a dataframe. OLDER FORMAT ONLY - NO LONGER SUPPORTED.
1 2 | ReadAmerifluxNCOldFormat(pathFluxData, timeZone = NULL,
utcOffset = NULL)
|
pathFluxData |
The full pathname to the flux time series NetCDF 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. |
ReadAmerifluxNCOldFormat
reads an Ameriflux Level 2 standardized NetCDF 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
,
ReadAmerifluxCSVOldFormat
,
ReadCoDwrGage
, ReadUsgsGage
1 2 3 4 5 6 7 8 | ## Takes a NetCDF file downloaded from the ORNL Amerifux website for US-NC2
## (North Carolina Loblolly Pine) and returns a dataframe.
## Not run:
obsFlux30min.usnc2 <-
ReadAmerifluxNCOldFormat("../OBS/FLUX/AMF_USNC2_2005_L2_WG_V003.nc", utcOffset=-5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.