oldFormat = netcdf.setDefaultFormat(format)
| Parameter | Description |
|---|---|
| arguments | Input arguments follow the syntax shown above. File and group identifiers are numeric values returned by netCDF open, create, group, dimension, and variable definition calls. Named netCDF constants can be obtained with netcdf.getConstant. |
| Parameter | Description |
|---|---|
| oldFormat | Return value described by the syntax shown above. |
netcdf.setDefaultFormat sets the process default netCDF format.
Prefer explicit creation modes when a file format matters for reproducibility.
oldFormat = netcdf.setDefaultFormat(netcdf.getConstant('NC_FORMAT_NETCDF4'));
netcdf.setDefaultFormat(oldFormat);
| Version | Description |
|---|---|
| 2.0.0 | initial version |