cf.Field.nc_set_component_sample_dimension_groups¶
-
Field.
nc_set_component_sample_dimension_groups
(component, groups)[source]¶ Set the netCDF sample dimension groups of components.
Sets the netCDF sample dimension groups for all components of a given type.
Some components exist within multiple constructs, but when written to a netCDF dataset the netCDF names associated with such components will be arbitrarily taken from one of them. The netCDF names can be set on all such occurrences individually, or preferably by using this method to ensure consistency across all such components.
New in version (cfdm): 1.8.6.0
See also
nc_del_component_sample_dimension
,nc_set_component_sample_dimension
,nc_clear_component_sample_dimension_groups
- Parameters
- Returns
Examples
>>> f.nc_set_component_sample_dimension_groups('count', ['forecast'])