cfdm.Index.nc_has_sample_dimension¶
- Index.nc_has_sample_dimension()[source]¶
Whether the netCDF sample dimension name has been set.
Added in version (cfdm): 1.7.0
Examples
>>> f.nc_set_sample_dimension('time') >>> f.nc_has_sample_dimension() True >>> f.nc_get_sample_dimension() 'time' >>> f.nc_del_sample_dimension() 'time' >>> f.nc_has_sample_dimension() False >>> print(f.nc_get_sample_dimension(None)) None >>> print(f.nc_del_sample_dimension(None)) None