fAddNCFVar: fAddNCFVar

Description Usage Arguments Value Author(s)

Description

Add variable from NetCDF file to data frame

Usage

1
2
fAddNCFVar(Data.F, Var.s, FileName.s, Dir.s, NcPackage.s, 
    CallFunction.s = "", VarNew.s = Var.s, ...)

Arguments

Data.F

Data frame

Var.s

Variable name or names (vector of strings)

FileName.s

NetCDF file name as a string

Dir.s

Directory as a string

NcPackage.s

Name (string) of R NetCDF package (implemented for 'RNetCDF' and 'ncdf4')

CallFunction.s

Name (string) of function called from

VarNew.s

Name (string) of the variable in Data.F, offer renaming

...

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

Value

Data frame with new nc variable added.

Author(s)

AMM, KS, TW (Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)


REddyProc documentation built on May 2, 2019, 5:19 p.m.