Write the data and attributes for one level defined by nc_level_vars()
Source: R/netcdf.R
nc_level_put.RdWrite the data and attributes for one level defined by nc_level_vars()
Usage
nc_level_put(
nc,
group,
df,
vars,
parent_index = NULL,
var_meta = list(),
parent_group = NA_character_
)Arguments
- nc
Open
ncdf4handle.- group
Group name, matching the
nc_level_vars()call.- df
The same data.frame passed to
nc_level_vars().- vars
The
nc_level_vars()result.- parent_index
1-based parent index, or
NULLat the root.- var_meta
Named list from
measurement_var_meta().- parent_group
Name of the parent group, used in the
parent_indexdocumentation attributes.