| copy_to_geozarr | R Documentation |
CFVariable to a geozarr_arrayThis function will take a CFVariable and copy the data into a GeoZarr array in a Zarr store.
copy_to_geozarr(var, geozarr, verbose = FALSE)
var |
A |
geozarr |
A |
verbose |
Logical. If |
The GeoZarr array must have been initialised before calling this function.
The create_geozarr_array() can be used for that purpose.
Missing data in the CFVariable are translated to the GeoZarr conventions,
see the "Exporting data" vignette for details.
A scalar axis of the CFVariable can be an axis of the GeoZarr array, with a
length of 1 for the variable. This is how variables from multiple files, each
with its own scalar axis value such as an ensemble member or a height, are
combined along a new dimension.
The CFVariable axes have to be compatible with those of the GeoZarr array.
Specifically, the values of the (active) coordinates of each axis have to be
a contiguous subset of the corresponding axis (by position) of the GeoZarr
array.
var, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.