Description Usage Arguments Value Author(s) Examples
Load specified variables and time stamp information from NetCDF file in Fluxnet BGI format. The time stamp information needs to be provided as variables 'year', 'month', 'day', 'hour'.
1 2 3 | fLoadFluxNCIntoDataframe(varNames, fileName,
ncPkg = requireNetCDFPackage(), fReadTime = fReadTimeSeveralCols,
...)
|
varNames |
string vector of variables to be read in |
fileName |
File name as a string |
ncPkg |
scalar string of package name to be used |
fReadTime |
function that reads time columns
It must append columns year (from 0AD), month, day, and hour (fractional)
See |
... |
further arguments to var.get.nc or ncvar_get, such as start and count |
Data frame with data from nc file.
AMM, KS, TW Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl]
1 2 3 4 | examplePath <- system.file(
file.path('examples','Example_DE-Tha.1996.1998.hourly_selVars.nc')
, package = "REddyProcNCDF")
EddyNCData <- fLoadFluxNCIntoDataframe(c('NEE', 'Rg', 'NEE_f'), examplePath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.