(filename, schema) ¶Create a NetCDF called filename with the dimensions, attributes, variables and groups given by the structure schema.
The variable schema has the same structure as the results of
ncinfo. ncinfo and ncwriteschema can be used together to
create a NetCDF using another file as a template:
schema = ncinfo("template.nc");
# the new file should be named "new_file.nc"
ncwriteschema("new_file.nc",schema);
Unused field in schema such as ChunkSize, Shuffle, DeflateLevel, FillValue, Checksum can be left-out if the corresponding feature is not used.
Dimensions are considered as limited if the field Unlimited is missing, unless the dimension length is Inf.
See also: ncinfo.
Package: netcdf