cf.Coordinate.where

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

Set data array elements depending on a condition.

Returns:out: cf.Coordinate