Skip to content
Discussion options

You must be logged in to vote

Hi @LeonMock, sorry for the confusion; I didn't realise indeed that depth and time were swapped; so the dimensions fix isn't a real fix, indeed.

What could be a proper solution, though, is to swap time and depth in your OW files. If do ds = ds.transpose("time_counter", "z", "y", "x") and then save the new dataset, the code seems to work. Could you try too?

Note that this time of problem is exactly why we want to move to stronger leverage of xarray in the new Parcels v4...

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@LeonMock
Comment options

@erikvansebille
Comment options

@LeonMock
Comment options

@erikvansebille
Comment options

Answer selected by LeonMock
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants