ctdproc.proc.remove_out_of_bounds
- ctdproc.proc.remove_out_of_bounds(da, bmin, bmax)[source]
Replace out-of-bounds values with NaN.
- Parameters:
da (xarray.DataArray) – Input data.
bmin (float) – Lower bound (inclusive).
bmax (float) – Upper bound (inclusive).
- Returns:
Input with values outside
[bmin, bmax]replaced by NaN.- Return type: