cdms2.variable:DatasetVariable

DatasetVariable.setMissing(value)

Set the missing value.

Parameters
valuescalar, a single-valued numpy array, or None.
Note :
The value is cast to the same type as the variable.