cf.Field.cell_methods¶
-
Field.cell_methods¶ Return cell method constructs.
The cell methods are not returned in the order in which they were applied. To achieve this use the
orderedof the returnedConstructsinstance.New in version (cfdm): 1.7.0
See also
- Returns
ConstructsThe cell method constructs and their construct keys.
Examples:
>>> f.cell_methods Constructs: {}
>>> f.cell_methods Constructs: {'cellmethod1': <CF CellMethod: domainaxis1: domainaxis2: mean where land (interval: 0.1 degrees)>, 'cellmethod0': <CF CellMethod: domainaxis3: maximum>}
>>> f.cell_methods.ordered() OrderedDict([('cellmethod0', <CF CellMethod: domainaxis1: domainaxis2: mean where land (interval: 0.1 degrees)>), ('cellmethod1', <CF CellMethod: domainaxis3: maximum>)])