gridmarthe.replace
- gridmarthe.replace(ds, value, replace, varname=None)[source]
Replace a value in xr.Dataset for a variable
- Parameters:
- dsxarray.Dataset
dataset of marthe variable(s)
- value: float
value to replace
- replace: float
value to replace with
- varnamestr, optional
variable name
- Returns:
- dataset with replaced value