fReadTimeSeveralCols: fReadTimeSeveralCols

Description Usage Arguments Details Author(s) See Also

View source: R/ncdf.R

Description

Constructing time from columnns 'year',...,'hour'

Usage

1
2
3
4
fReadTimeSeveralCols(data, fileName, ncPkg = requireNetCDFPackage(), 
    callingFunction = "", colYear = "year", 
    colMonth = "month", colDay = "day", colHour = "hour", 
    defaultHour = 0, ...)

Arguments

data

Data frame

fileName

NetCDF file name as a string

ncPkg

scalar string of package name to be used

callingFunction

Name (string) of function called from

colYear

Name (string) of variable holding the year

colMonth

Name (string) of variable holding the month

colDay

Name (string) of variable holding the day

colHour

Name (string) of variable holding the hour

defaultHour

(numeric) default that is used when colHour = NA , when only days are specified

...

further arguments to var.get.nc or ncvar_get , such as start and count

Details

Time may be stored in different formats, and fLoadFluxNCIntoDataframe is parameterized by a argument fReadTime. The following functions are provided to construct time from different formats: These functions help with the preparation of your data for the analysis:

Author(s)

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]

See Also

fLoadFluxNCIntoDataframe


bgctw/REddyProcNCDF documentation built on May 3, 2019, 8:59 p.m.