ctdfjorder.CTD.CTD.add_surface_temperature(self, start=10.1325, end=12.1325)#

Calculate and add surface temperature to the dataset.

This function calculates the surface temperature for each profile in the dataset. The surface temperature is determined by calculating the mean temperature within the specified pressure 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.