View source: R/functions_netCDF.R
populate_netCDF | R Documentation |
Add data to an existing netCDF file
populate_netCDF(
filename,
data,
var_names,
data_str = c("xyzt", "xyt", "xyz", "xy", "szt", "st", "sz", "s"),
nc_name_crs = "crs",
nc_name_crs_wkt = "crs_wkt",
xy_names = c("lon", "lat"),
time_ids = -1,
vertical_ids = -1,
...
)
filename |
A character string. The name of the netCDF file. |
data |
A numeric array or vector (optional). A vector is converted to a one-column matrix. |
var_names |
A character vector of strings. The netCDF variable names. |
data_str |
A character string describing the dimensions of |
nc_name_crs |
A character string. The name of the crs variable
in the netCDF.
Function |
nc_name_crs_wkt |
A character string. The name of the attribute
that holds the WKT2 string of the crs variable
in the netCDF.
Function |
xy_names |
A vector with two character strings. The names of the x and y spatial dimensions of a netCDF file. |
time_ids |
An integer vector. The index to read a subset of
time steps; a value of |
vertical_ids |
An integer vector. The index to read a subset of
vertical steps; a value of |
... |
Additional arguments passed on to the specific functions. |
This function is not yet implemented.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.