cf.AncillaryVariables.match

AncillaryVariables.match(*args, **kwargs)[source]

Return a list of booleans showing which elements match the given conditions.

The match conditions are passed to each element’s match method in turn.

Parameters :
args, kwargs :

As for the variable’s match method.

Returns :
out : list

A built-in list of booleans showing which elements match the conditions.

Examples

>>> fl
[<>
 <>]
>>> fl.match(attr={'standard_name': 'air_temperature'})
[True, False]

Previous topic

cf.AncillaryVariables.insert

Next topic

cf.AncillaryVariables.name

This Page