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
Hey there,
I found another strange behavior when I was trying to regrid 3D unstructured meshes with conservative regridding using esmpy 8.7 from conda-forge on linux with python 3.10.
For some resolutions I get a segfault. Here is a minimal working example using PyVista grids:
The important part is res1, res2 = 10, 10, which sets the input- and output resolution. For me, it only works when:
res1 <= res2 (strange, since I typically want a coarser output grid when using conservative regridding), and
if res1 and res2 have an integer ratio
So, res1, res2 = 10, 10 works fine, res1, res2 = 5, 10 and res1, res2 = 10, 20 also, but res1, res2 = 10, 5 or res1, res2 = 10, 12 just gives a segfault and nothing more.
Note that regrid_method=esmpy.RegridMethod.NEAREST_STOD works for all resolution combinations.
Do you have any idea what went wrong here?
Here the images for res1, res2 = 10, 10 as references:
Cheers,
Sebastian
The text was updated successfully, but these errors were encountered:
Hey there,
I found another strange behavior when I was trying to regrid 3D unstructured meshes with conservative regridding using esmpy 8.7 from conda-forge on linux with python 3.10.
For some resolutions I get a segfault. Here is a minimal working example using PyVista grids:
The important part is
res1, res2 = 10, 10
, which sets the input- and output resolution. For me, it only works when:So,
res1, res2 = 10, 10
works fine,res1, res2 = 5, 10
andres1, res2 = 10, 20
also, butres1, res2 = 10, 5
orres1, res2 = 10, 12
just gives a segfault and nothing more.Note that
regrid_method=esmpy.RegridMethod.NEAREST_STOD
works for all resolution combinations.Do you have any idea what went wrong here?
Here the images for
res1, res2 = 10, 10
as references:Cheers,
Sebastian
The text was updated successfully, but these errors were encountered: