GridSearchingError for interior-ocean particles on MOM6 curvilinear grid (ParcelsV4-alpha) #2808
Unanswered
leilanepassos
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Question
Question
Hi everyone,
I'm trying to run parcels in a MOM6 curvilinear grid using ParcelsV4 alpha (Parcels: 3.1.3.dev2070, Python 3.14, Linux x86_64 (conda)).
I used the script that converts NEMO outputs to SGRID format to create a similar script for MOM6. I tested with North Eastern Pacific domain, 816×342, built with
mom6_to_sgrid+FieldSet.from_sgrid_conventions, mesh="spherical"),pset.executeraises GridSearchingError for particles at interior, open-ocean locations, far from land and far from the grid's degenerate cells. One failing particle aborts the whole run.The static file is land-masked with NaN and I filled by row/column linear interpolation, so all coordinate arrays are NaN-free, and lon is continuous (157–255°E, no dateline jump inside the domain). Even with this smooth fill, Parcels still detects 67 degenerate faces. The simulation was run with 100 particles released on a 10×10 grid over 210–220°E, 40–56°N, AdvectionRK4, dt = 2 min.
Is this the recommended approach for reading a MOM6 curvilinear grid in Parcels? Based on this description, does anything in my grid conversion or SGRID setup look incorrect or potentially problematic?
If not, could you point me toward the most useful things to investigate to understand why
GridSearchingErroris occurring for particles that appear to be well inside the valid ocean domain?I can provide the mom6_to_sgrid script, the resulting SGRID files if that would be helpful.
Thanks!
Leilane
Supporting code/error messages
All reactions