Skip to content

Conversation

@erikvansebille
Copy link
Member

@erikvansebille erikvansebille commented Jan 7, 2026

Now that we have a FieldSet.from_sgrid_conventions() method, we can clean up many of the tutorials that rely on the simple_UV_dataset by simplifying the fieldset creation.

This requires the sgrid metadata to be attached to simple_UV_dataset, which this PR also implements

Another change is that FieldSet.from_sgrid_conventions() now always return a FieldSet.UV if U and V are present, irrespective of whether W is present (see #2453 (comment))

This PR also cleans AdvectEE_NestedGrids Kernel now that #2143 has been merged

Now that #2143 is fixed, the kernel for nested grids can be much simpler
So that users have access to UV even if there's also a W field
following on 2d9640e
This requires adding sgrid metadata to simple_UV_dataset
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.

Thanks or the clarifications - LGTM ! 🚀

@erikvansebille erikvansebille merged commit eeedce8 into v4-dev Jan 9, 2026
9 of 10 checks passed
@erikvansebille erikvansebille deleted the use_sgrid_for_simple_UV_dataset branch January 9, 2026 12:44
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Jan 9, 2026
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.

3 participants