cf.CoordinateBounds.select¶
-
CoordinateBounds.
select
(*args, **kwargs)[source]¶ Return the instance if it matches the given conditions.
v.select(*args, **kwargs)
is equivalent tov if v.match(*args, **kwargs) else cf.List()
.See
cf.Variable.match
for details.Parameters: - args, kwargs : optional
See
cf.Variable.match
.
Returns: - out : cf.CoordinateBounds or list
If the variable matches the given conditions then it is returned as an object identity. Otherwise an empty list is returned.