ctdproc.calcs.calc_temp
- ctdproc.calcs.calc_temp(data)[source]
Add conservative and potential temperature for both sensor pairs.
Adds variables
CT1,CT2(conservative temperature, deg C) andth1,th2(potential temperature, deg C, referenced to 0 dbar) to the dataset.- Parameters:
data (xarray.Dataset) – CTD time series with
s1/s2,SA1/SA2,t1/t2, andp. Runcalc_sal()first.- Returns:
Input augmented with
CT1,CT2,th1,th2.- Return type: