updateNcdfDataframe: updateNcdfDataframe

Description Usage Arguments Details Author(s) See Also

View source: R/readNcdf.R

Description

fast writing of a data.frame to a single point netCDF file

Usage

1
2
updateNcdfDataframe(ds, file.name, dimVar = "time", 
    isConvertTime = (dimVar == "time"))

Arguments

ds

data.frame to write to file

file.name

character string: name of the ncdf file file to write to.

dimVar

scalar string: name of the single dimension

isConvertTime

if true, the dimension is converted by readNcdfTime

Details

Convenience function to automatically write data toa ncdf file without specifying variable names and opening file connections.

Expects dim-column to be equidistant and with all

Expects variables of all columns in ds to be defined In the ncdf file

Expects the dim column to be a contiguous slice of the dimension of the ncdf file

Author(s)

Jannis v. Buttlar, Thomas Wutzler

See Also

readNcdfDataframe


bgctw/ncdfTools documentation built on Jan. 29, 2020, 1:16 p.m.