ctdproc.calcs.calc_sigma
- ctdproc.calcs.calc_sigma(data)[source]
Add potential density anomaly for both sensor pairs.
Adds variables
sg1,sg2(potential density anomaly, kg/m^3, referenced to 0 dbar) to the dataset.- Parameters:
data (xarray.Dataset) – CTD time series with
SA1/SA2andCT1/CT2. Runcalc_sal()andcalc_temp()first.- Returns:
Input augmented with
sg1,sg2.- Return type: