cf.CoordinateList.select

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

Return the elements which match the given conditions.

The arguments and keywords are passed to each element’s match method in turn.

Parameters :
args, kwargs :

As for the variable’s match method.

Returns :
out :

A new list containing the matching elements.

Examples

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

This Page