cfdm.DomainAxis.nc_set_unlimited¶
-
DomainAxis.
nc_set_unlimited
(value)[source]¶ Set the unlimited status of the a netCDF dimension.
By default output netCDF dimensions are not unlimited. The status is used by the
write
function.New in version (cfdm): 1.7.4
See also
- Parameters
- value:
bool
The new unlimited status. True and False signify “unlimited” and “not unlimited” respectively.
- value:
- Returns
Examples
>>> da = f.domain_axis('domainaxis1') >>> da.nc_is_unlimited() False >>> da.nc_set_unlimited(True) >>> da.nc_is_unlimited() True >>> da.nc_set_unlimited(False) False >>> da.nc_is_unlimited() True