Skip to content

Conversation

@erikvansebille
Copy link
Member

As discussed om #1646, the order for Field interpolation has been [time, depth, lat, lon] since Parcels v2, . However, under the hood, there are still multiple cases where that order is different.

This PR fixes #1646 by harmonising the order of the dimensions in any Field operation to be [time, depth, lat, lon]

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.

Looks good to me, though admittedly I'm not the most familiar with this section of the codebase

@erikvansebille erikvansebille merged commit 70e26eb into master Jan 7, 2025
16 checks passed
@erikvansebille erikvansebille deleted the harmonise_field_interp_order branch January 7, 2025 11:39
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.

Harmonise Field interpolation order to consistently be (time, depth, lat, lon) throughout the code

3 participants