Problem with zonal periodic BC and 3D advection - OutOfBoundsError #1407
Replies: 2 comments 3 replies
-
|
Hi Esteban, At a preliminary glance your code looks okay to me. Could you share your fieldset creation code? As a first step, could you share what the following: |
Beta Was this translation helpful? Give feedback.
-
|
The particle seems to be inside the domain. While it seems to be coming up close to the RHS boundary (lon=79.597166), it should be in the top part of the grid(with the two poles). I'm not all that sure about how things work above 60°N in these c-grids, my focus was always in the Southern hemisphere! Parcels should be able to handle c-grids without the need for a periodic BC kernel or halos. As a quick check, have you tried running your code with no halos and with the simple RK4 advection (without the periodic BC checks)? |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I am currently struggling with the zonal periodic BC for my domain (see figure attached).

My domain goes from -280 to 80 deg E roughly, so I had to add a
halo westand ahalo_eastto myfieldset:As suggested in #1333 checks are done at the different longitudes needed for the interpolation:
Still, I got the following error triggered:
Do you have an idea about what is wrong in my code?
Thanks in advance!
Esteban Avella Shaw
Beta Was this translation helpful? Give feedback.
All reactions