You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
global grid from mesh2d_make_global does not always extend to the poles #236
Describe the bug
Follow-up of #181. When generating a global grid with "inconvenient" user input
(a low number of latitude values), the resulting grid does not extent to +/- 90 latitude (poles). The code below generates a grid from -/+60 approximately:
Additional context
This is caused by the fact that the requested nx and ny are too far apart. This causes the computed dx/dy in combination with ny to not make it possible to extend to -+90 degrees. In fact, this is because the cells are made square (in meters). I think this is the only valid usecase, so it might then be better to remove the ny from the user input arguments. I believe in interacter it is also being ignored, but it should still be a sensible value. It might be good to improve upon this in meshkernelpy.
Activity
veenstrajelmer commentedon Jul 31, 2025
Registered internally as https://issuetracker.deltares.nl/browse/GRIDEDIT-1919
veenstrajelmer commentedon Oct 21, 2026
Fixed in Deltares/MeshKernel#544, so this issue can be closed.