Skip to content

Comments

Update CMEMS observation scripts#1252

Draft
JustinElms wants to merge 11 commits intomasterfrom
update-CMEMS-observation-scripts
Draft

Update CMEMS observation scripts#1252
JustinElms wants to merge 11 commits intomasterfrom
update-CMEMS-observation-scripts

Conversation

@JustinElms
Copy link
Contributor

Background

Minor updates to the CMEMS observation data ingestion scripts:

  • Dropped use of defopt in favor of argparse package
  • Scripts now use more efficient insert methods which are best practices for SQLAlchemy
  • Scripts now follow the same pattern with minor differences where required by platform type

Also added additional unique keys to observation database station and sample tables to ensure that each entry is unique.

Checks

  • I ran unit tests.
  • I've tested the relevant changes from a user POV.
  • I've formatted my Python code using black ..

@JustinElms JustinElms self-assigned this Nov 3, 2025
@JustinElms JustinElms added the observations Related to observations label Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

observations Related to observations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant