cf.Variable.select

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

Return the instance if it matches the given conditions.

Parameters :
args, kwargs :

As for the match method.

Returns :
out :

The variable as an object identity, if it matches the given conditions.

Raises :
ValueError :

If the variable does not match the conditions.

Previous topic

cf.Variable.override_units

Next topic

cf.Variable.setitem

This Page