cf.Index.nc_has_dimension¶
-
Index.
nc_has_dimension
()[source]¶ Whether the netCDF dimension name has been set.
New in version 1.7.0.
See also
Examples:
>>> f.nc_set_dimension('time') >>> f.nc_has_dimension() True >>> f.nc_get_dimension() 'time' >>> f.nc_del_dimension() 'time' >>> f.nc_has_dimension() False >>> print(f.nc_get_dimension(None)) None >>> print(f.nc_del_dimension(None)) None