ctdproc.io.add_default_proc_params
- ctdproc.io.add_default_proc_params(ds)[source]
Attach the default processing parameters to
ds.attrsin place.Sets bounds for valid pressure / temperature / conductivity / salinity (
bounds_p/bounds_t/bounds_c/bounds_s); spike thresholds for despiking (spike_thresh_t,spike_thresh_s); glitch-correction thresholds (diff_*/prod_*for p/t/c/s); the sinking-velocity threshold used byctdproc.proc.rmloops()(wthresh); and plotting flags (plot_spectra,plot_path).- Parameters:
ds (xarray.Dataset) – CTD time series. Modified in place; nothing is returned.