-
Notifications
You must be signed in to change notification settings - Fork 153
Correct cell not found at North Pole with a curvilinear grid #1979
Replies: 1 comment · 6 replies
-
Thanks for reaching out, @noemieplanat. Quite strange indeed that the class ocean_particle(ScipyParticle) |
Beta Was this translation helpful? Give feedback.
All reactions
-
OK, but does that FieldOutOfBoundError happens immediately? Or only later in the execution? Is there an output file? What does the trajectory look like until then? Is it different from the |
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Hmm, so the bug sits deeper than I hoped... Our development efforts now are focussing strongly on the new version 4, which is a complete overhaul of the Field class and will include unstructured grid-support. I expect this to be more robust for complex grids like yours. But it does mean it's hard for us to find time to dig into this issue in the v3-codebase. So I'm afraid we can't really help you here now; you can either wait until the first releases of v4, or interpolate your data to a regular grid? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi Erik, |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @noemieplanat, we expect the first 'alpha'-versions of v4 to be out in September. There are two versions of the
Good luck digging! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Question
Hi all,
I am trying to run parcels in the Arctic with a curvilinear Z grid. This grid (see photos) has the advantage that is has no "pole".
I have tried to run the same in python (from e.g. indices 1243, 855 and target lat-lon = (89.895232, -107.906885)) by copying in the search_indices_curvilinear function in python. Surprisingly, it works in python, which make me think the grid that I give it (ds_mesh.nav_lat, ds_mesh.nav_lon) is not exactly the one Parcels uses in that function.
So two questions :
Any idea would be helpful, thanks !
Noemie
Fail and sucess initialization of a particle at location 68N, -165W :



Grid in CREG :
Supporting code/error messages
Here is the modified reconnect_bnd_indices function that I use.
Parcel's script in python :
Beta Was this translation helpful? Give feedback.
All reactions