CommonDataModel.defVar
— MethoddefVar(ds::ZarrDataset,name::SymbolOrString,vtype::DataType,dimensionnames; chunksizes=nothing, attrib = Dict(), fillvalue = nothing)
Create a variable name
in the dataset ds
with the type vtype
and the dimension dimensionnames
.
For coordinate variables, fill values will be used a background value of undefined chunks and not as missing value as coordinate variables cannot have the _FillValues
in the CF convension as in Zarr v2 format a fill_value
does not necessarily indicate a missing value.
See also CommonDataModel.defVar
for more information.