netcdf.defVarChunking
Define chunking parameters for netCDF variable
Description
netcdf.defVarChunking(
sets the chunk settings for the variable specified by ncid
,varid
,storage
,chunkSizes
)varid
. Chunking is
a technique to improve performance. storage
specifies the type of
chunking to use and chunkSizes
specifies the extents of the chunk size.
You must specify the chunk size used with a variable after creating the variable but before
you write data to the variable.
You cannot specify the chunk size for variables in a netCDF file created with the
netCDF-3 mode (CLASSIC_MODEL
).
Examples
Input Arguments
Tips
This function corresponds to the
nc_def_var_chunking
function in the netCDF library C API.
Version History
Introduced in R2010b
See Also
netcdf.inqVarChunking
| netcdf.create
| netcdf.open
| netcdf.defGrp