cf.DimensionCoordinate.where

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

Set data array elements depending on a condition.

Returns:out : cf.DimensionCoordinate