cf.DomainAxis.nc_is_unlimited

DomainAxis.nc_is_unlimited()[source]

Inspect 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 1.7.4.

See also

nc_set_unlimited

Returns:
bool

The existing unlimited status. True and False signify “unlimited” and “not unlimited” repectively.

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