Skip to content
Discussion options

You must be logged in to vote

I believe your interpretation is very right: the vertical coordinate has hitherto been neglected when moving particles back.
See the actual code here:
https://github.com/OpenDrift/opendrift/blob/master/opendrift/models/basemodel/__init__.py#L740

And yes: ocean model 3D fields are extrapolated downwards, and also beyond actual seafloor depth. This in itself I believe makes sense, to avoid having no values and a possible gap between the lowest model layer and the actual seafloor depth where particles could be trapped.

But the issue with also resetting z to previous value should be fixed.
There are some changes in the pipeline regarding the "previous" mechanism, but it might take some weeks …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jordanasevigny
Comment options

Answer selected by jordanasevigny
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