Skip to content

Conversation

@j-atkins
Copy link
Collaborator

To get VirtualShip ready for the requirements of upcoming university courses, the CTD_BGC instrument now supports measurements of additional variables: nutrients (nitrate, phosphate), pH, phytoplankton, zooplankton and primary production (on top of the pre-existing o2 and chlorophyll variables).

Tests have also been updated to accommodate the new variables.

Copy link
Collaborator

@ammedd ammedd left a comment

Choose a reason for hiding this comment

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

Looks fine to me!

"no3": no3,
"po4": po4,
"ph": ph,
"phytoplankton": phytoplankton,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why use the full names here and not the abbreviations?
"phyc",
"zooc",
"nppv",

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Now using abbreviations consistently 👍

Copy link
Member

@erikvansebille erikvansebille left a comment

Choose a reason for hiding this comment

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

In general, I would stick as close to the Copernicus Marine terminology for these fields as possible; so no3 instead of nitrate etc?

@j-atkins
Copy link
Collaborator Author

In general, I would stick as close to the Copernicus Marine terminology for these fields as possible; so no3 instead of nitrate etc?

Yes, I've updated this now in my latest commit, as also suggested by @ammedd 👍

Comment on lines 253 to 282
"nitratedata": {
"dataset_id": "cmems_mod_glo_bgc-nut_anfc_0.25deg_P1D-m",
"variables": ["no3"],
"output_filename": "ctd_bgc_nitrate.nc",
},
"phosphatedata": {
"dataset_id": "cmems_mod_glo_bgc-nut_anfc_0.25deg_P1D-m",
"variables": ["po4"],
"output_filename": "ctd_bgc_phosphate.nc",
},
"phdata": {
"dataset_id": "cmems_mod_glo_bgc-car_anfc_0.25deg_P1D-m",
"variables": ["ph"],
"output_filename": "ctd_bgc_ph.nc",
},
"phytoplanktondata": {
"dataset_id": "cmems_mod_glo_bgc-pft_anfc_0.25deg_P1D-m",
"variables": ["phyc"],
"output_filename": "ctd_bgc_phytoplankton.nc",
},
"zooplanktondata": {
"dataset_id": "cmems_mod_glo_bgc-plankton_anfc_0.25deg_P1D-m",
"variables": ["zooc"],
"output_filename": "ctd_bgc_zooplankton.nc",
},
"primaryproductiondata": {
"dataset_id": "cmems_mod_glo_bgc-bio_anfc_0.25deg_P1D-m",
"variables": ["nppv"],
"output_filename": "ctd_bgc_primary_production.nc",
},
Copy link
Member

Choose a reason for hiding this comment

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

There are still a few inconsistencies between the naming in Copernicus Marine data and the naming in VirtualShip here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh yes! Now fixed as well

@j-atkins j-atkins merged commit 0997d08 into main Aug 29, 2025
10 of 11 checks passed
@j-atkins j-atkins deleted the add-bgc-vars branch August 29, 2025 07:15
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.

4 participants