Skip to content

Add support for copernicusmarine without depth#2746

Merged
erikvansebille merged 3 commits into
Parcels-code:mainfrom
erikvansebille:expand_copernicusmarine_converting
Jul 24, 2026
Merged

Add support for copernicusmarine without depth#2746
erikvansebille merged 3 commits into
Parcels-code:mainfrom
erikvansebille:expand_copernicusmarine_converting

Conversation

@erikvansebille

@erikvansebille erikvansebille commented Jul 13, 2026

Copy link
Copy Markdown
Member

Description

This PR improves the convert.copernicusmarine_to_sgrid() tool, by supporting fields without depth (fixing #2537) and by setting NaNs to zero so that they can be properly parsed in the Interpolators. The latter contributes to #2393

Setting NaNs is taken care of in #2762

Checklist

AI Disclosure

None

And convert NaNs to zeroes (for interpolators)
Comment thread src/parcels/convert.py
Comment thread src/parcels/convert.py Outdated
@erikvansebille erikvansebille changed the title Add support for copernicusmarine without depth and with NaNs Add support for copernicusmarine without depth Jul 24, 2026
@erikvansebille
erikvansebille enabled auto-merge (squash) July 24, 2026 13:39
@erikvansebille
erikvansebille merged commit df9a313 into Parcels-code:main Jul 24, 2026
15 of 16 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Jul 24, 2026
@erikvansebille
erikvansebille deleted the expand_copernicusmarine_converting branch July 24, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

FieldSet construction fails for 2D Copernicus dataset due to empty Z axis from SGRID parsing

2 participants