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
ordered
of the returnedConstructs
instance.New in version 1.7.0.
See also
Parameters: - copy:
bool
, optional If True then return copies of the constructs. By default the constructs are not copied.
Returns: Constructs
The cell method constructs and their construct keys.
Examples:
>>> f.cell_methods Constructs: {}
>>> f.cell_methods Constructs: {'cellmethod1': <CellMethod: domainaxis1: domainaxis2: mean where land (interval: 0.1 degrees)>, 'cellmethod0': <CellMethod: domainaxis3: maximum>}
>>> f.cell_methods.ordered() OrderedDict([('cellmethod0', <CellMethod: domainaxis1: domainaxis2: mean where land (interval: 0.1 degrees)>), ('cellmethod1', <CellMethod: domainaxis3: maximum>)])
- copy: