cf.Variable.where

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

Set data array elements depending on a condition.

Returns:out : cf.Variable

Previous topic

cf.Variable.unique

Next topic

Constants of the cf module

This Page