Skip to content

Conversation

@erikvansebille
Copy link
Member

This PR fixes #2406. It also adds a unit test

Advantage si that this would also work when users add diffusion fields later
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko left a comment

Choose a reason for hiding this comment

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

Does copernicus serve any datasets that U/V defined in metres?

@erikvansebille
Copy link
Member Author

Does copernicus serve any datasets that U/V defined in metres?

It's not about the units of U and V, but the units of latitude and longitude. And no, all datasets in copernicusmarine have units of longitude and latitude in degrees. So this change will always work

@erikvansebille erikvansebille merged commit 6f178dc into v4-dev Nov 26, 2025
11 checks passed
@erikvansebille erikvansebille deleted the spherical_mesh_in_from_copernicusmarine branch November 26, 2025 13:00
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Nov 26, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels v4 release Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-design topic/input-data Issues about hydrodynamical data

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

mesh variable from_copernicusmarine

3 participants