cf.Coordinate.where

Coordinate.where(condition, x=None, y=None, i=False)

Set data array elements depending on a condition.

Returns:out : cf.Coordinate