cf.Field.cell_methods¶
-
Field.
cell_methods
(*identities, **filter_kwargs)[source]¶ Return cell method constructs.
New in version (cfdm): 1.7.0
See also
- Parameters
- identities: optional
Select cell method constructs that have an identity, defined by their
identities
methods, that matches any of the given values.Additionally, the values are matched against construct identifiers, with or without the
'key%'
prefix.Additionally, if for a given
value
,f.domain_axes(value)
returns a unique domain axis construct then any cell method constructs that span exactly that axis are selected. Seedomain_axes
for details.If no values are provided then all cell method constructs are selected.
A value may be any object that can match via the
==
operator, or are.Pattern
object that matches via itssearch
method.call, a construct is always described by an identity that will select it.
- filter_kwargs: optional
Keyword arguments as accepted by
Constructs.filter
that define additional construct selection criteria. Also to configure the returned value.New in version (cfdm): 1.8.9.0
- Returns
The selected constructs in a new
Constructs
object, unless modified by any filter_kwargs parameters.
Examples: