Replies: 1 comment
-
Hi @Kazu1886
In your workaround: when creating your face-node connectivity, make sure you use a masked NumPy array rather than a straight NumPy array, since that is what the internals of iris-esmf-regrid need (ref) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to regrid nemo data on a tri-polar grid so that I can make zonally averaged plots. I have followed a thread on #5172, but have been getting errors trying these. I have tried using esmf_regrid.schemes.ESMFAreaWeighted, however I get an assertion error:
I also tried converting to a mesh and regridding: converted the cube to a mesh grid esmf_regrid.experimental.unstructured_scheme.MeshToGridESMFRegridder
This worked, although I could not work out to how to generalise when there are other dimensions, eg time, depth. I then used esmf_regrid.experimental.unstructured_scheme.MeshToGridESMFRegridder to regrid onto the lat-lon grid:
regridder = MeshToGridESMFRegridder(meshcube, grid_cube)
which returns the error:
Any help here would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions