ctdproc.io.CTDx

ctdproc.io.CTDx(filename)[source]

Convenience wrapper that returns a ready-to-process xarray Dataset.

Combines CTDHex parsing, CTDHex.to_xarray() conversion, and add_default_proc_params() in a single call.

Parameters:

filename (str or pathlib.Path) – Path to a Seabird .hex file. The matching .xmlcon calibration file must sit alongside it.

Returns:

Time series of raw sensor channels in physical units, with default processing parameters attached as attrs.

Return type:

xarray.Dataset