- ctdfjorder.CTD.CTD.add_surface_salinity(self, start=10.1325, end=12.1325)#
Calculate and add surface salinity to the dataset.
This function calculates the surface salinity for each profile in the dataset. The surface salinity is determined by selecting the salinity value at the lowest pressure within the specified range.
- Parameters:
start (float, default 10.1325) – Upper bound of surface pressure.
end (float, default 12.1325) – Lower bound of surface pressure.
- Raises:
NoSamplesError – If the dataset is empty when the function is called.
Warning – If no measurements are found within the specified pressure range for a profile.