nctoolkit.DataSet.as_missing

DataSet.as_missing(self, value=None)

Change a range or individual value to missing.

Parameters

value (2 variable list or int/float) – If int/float is provided, the missing value will be set to that. If a list is provided, values between the two values (inclusive) of the list are set to missing.