cf.AncillaryVariables.select

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

Return the elements which match the given conditions.

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

Parameters :
args, kwargs :

As for a variable’s match method.

Returns :
out :

A new list containing the matching elements.

Examples

>>> fl
[<>
 <>]
>>> fl.select(attr={'standard_name': 'air_temperature'})
[<>]

Previous topic

cf.AncillaryVariables.reverse

Next topic

cf.AncillaryVariables.set_equals

This Page