Replies: 1 comment 10 replies
-
Thanks for reporting, @brogalla. I think the issue is with the depth of the particles. When you don't specify a print(np.amin(fieldset.U.depth), np.amax(fieldset.U.depth))
print(np.amin(fieldset.Pb.depth), np.amax(fieldset.Pb.depth))
0.0 5500.0015
0.49402538 5727.9165 So the solution could be to create your particles with e.g. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Parcels Community,
I'm running into an ErrorOutOfBounds problem when sampling a tracer field based on particle tracks and was hoping that one of you might have an idea what the issue is. When I release particles at a particular location + time without field sampling, the particles run fine. However, running the same particles with my tracer sampling kernel, I get ErrorOutOfBounds for some, but not all particles. I've checked that the latitude and longitudes in the fieldsets for the tracer and velocity fields cover the sampled locations.
For my code, I tried to follow a method similar to this example notebook. You can see my notebook with the code that produces the problem here. I'm running with parcels version 2.4.0.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions