cfdm.Data.nc_has_aggregated_data¶
-
Data.
nc_has_aggregated_data
()[source]¶ Whether any netCDF aggregated_data terms have been set.
The aggregated data terms define the names of the fragment array variables, and are stored in a netCDF file in an “aggregated_data” attribute.
New in version (cfdm): 1.12.0.0
Examples
>>> f.nc_set_aggregated_data( ... {'shape': 'shape', ... 'location': 'location', ... 'address': 'address'} ... ) >>> f.nc_has_aggregated_data() True >>> f.nc_get_aggregated_data() {'shape': 'shape', 'location': 'location', 'address': 'address'} >>> f.nc_del_aggregated_data() {'shape': 'shape', 'location': 'location', 'address': 'address'} >>> f.nc_has_aggregated_data() False >>> f.nc_del_aggregated_data() {} >>> f.nc_get_aggregated_data() {} >>> f.nc_set_aggregated_data( ... 'shape: shape, location: location address: address' ... )