nct_create: Serializes data.frame to NetCDF file

Description Usage Arguments Author(s)

Description

Serializes data.frame to NetCDF file

Usage

1
nct_create(df, filename, dims, longnames = NA, units = NA)

Arguments

df

data.frame to be written

filename

character string specifying output file ending in .nc

dims

character vector specifying at least one column as a dimension

longnames

optional long names to include as dimension or variable attributes, formatted as a named list or vector where keys match column names in df and values specify the desired long_name NetCDF attribute

units

optional units to include as dimension or variable attributes, using the same format as longnames, except POSIXct columns will override a user specified units field with "seconds since 1970-01-01T00:00:00Z" for POSIX compliance

Author(s)

Ben Fasoli


benfasoli/nctables documentation built on May 21, 2019, 11:30 a.m.