gridmarthe.replace gridmarthe.replace(ds, varname, value, replace)[source] Replace a value in xr.Dataset for a variable Parameters: ds (xr.Dataset) – dataset of marthe variable(s) varname (str) – variable name value (float) – value to replace replace (float) – value to replace with Returns: dataset with replaced value