Skip to content

Add salinity measurements to Drifters - #408

Open
j-atkins wants to merge 4 commits into
mainfrom
drifter-sal
Open

j-atkins wants to merge 4 commits into
mainfrom
drifter-sal

Conversation

@j-atkins

@j-atkins j-atkins commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

This PR adds salinity as a measurement to the Drifter instrument, which is a requested feature (see #312 ).

  • Updates docs to explain that the salinity sensor is available to Drifters, and the Drifter output tutorial to be able to plot salinity
  • Updates/adds tests

Closes #312

@j-atkins j-atkins changed the title Drifter sal Add salinity measurements to Drifters Oct 6, 2026

@erikvansebille erikvansebille left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments below

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But not all drifters record salinity, right? This is only for a small subset of the drifters. So make clear it's optional?

| **ARGO_FLOAT** | TEMPERATURE | Sea Water Potential Temperature | °C | Physical |
| | SALINITY | Sea Water Salinity | psu | Physical |
| **DRIFTER** | TEMPERATURE | Sea Water Potential Temperature | °C | Physical |
| | SALINITY | Sea Water Salinity | psu | Physical |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, we might need to consider the units here. psu is old and deprecated - the "correct" uint is g/kg (or unites) now. But what does copernicusmarine provide?

description=("Sensors fitted to the drifter. Supported: TEMPERATURE. "),
default_factory=lambda: [
SensorConfig(sensor_type=SensorType.TEMPERATURE),
SensorConfig(sensor_type=SensorType.SALINITY),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So salinity sampling is default always on for drifters? Do we really want that? is that authentic?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Salinity to drifter measurements

2 participants