cfdm.Field.nc_has_geometry_variable¶
-
Field.
nc_has_geometry_variable
()[source]¶ Whether a netCDF geometry container variable has a name.
New in version (cfdm): 1.8.0
Examples
>>> f.nc_set_geometry_variable('geometry') >>> f.nc_has_geometry_variable() True >>> f.nc_get_geometry_variable() 'geometry' >>> f.nc_del_geometry_variable() 'geometry' >>> f.nc_has_geometry_variable() False >>> print(f.nc_get_geometry_variable(None)) None >>> print(f.nc_del_geometry_variable(None)) None