- ctdfjorder.CTD.CTD.add_meltwater_fraction(self)#
Calculate and add meltwater fractions (EQ. 10 and EQ. 11) to the dataset.
This function calculates the meltwater fractions for each profile based on the surface salinity. The calculations are performed using the formulas provided by Pan et al. 2019.
- Raises:
NoSamplesError – If the dataset is empty when the function is called.
Notes
Meltwater fraction EQ 11, where \(S_0\) is surface salinity
\[ext{Meltwater Fraction} = (-0.021406 * S_0 + 0.740392) * 100\]Meltwater fraction EQ 10, where \(S_0\) is surface salinity
\[ext{Meltwater Fraction} = (-0.016 * S_0 + 0.544) * 100\]