ctdproc.proc.run_all

ctdproc.proc.run_all(ds)[source]

Run all standard processing steps on raw CTD time series.

Applies, in order: cleanup(), split_updn(), add_tcfit_default(), phase_correct(), ctdproc.calcs.swcalcs(), rmloops(), and cleanup_ud() to each of the down- and up-cast.

Parameters:

ds (xarray.Dataset) – Raw CTD time series with default processing parameters in ds.attrs (see ctdproc.io.add_default_proc_params()).

Returns:

Mapping with keys "down" and "up" containing the processed downcast and upcast time series.

Return type:

dict of xarray.Dataset

See also

bincast

depth-bin the result of this function.