SciTools / iris-esmf-regrid

A collection of structured and unstructured ESMF regridding schemes for Iris.
https://iris-esmf-regrid.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Regridding onto the nodes of a mesh with non-zero `start_index` fails #300

Closed stephenworsley closed 1 year ago

stephenworsley commented 1 year ago

🐛 Bug Report

The following file has a face_node_connectivity with a start_index of 1: https://github.com/SciTools/iris-test-data/blob/master/test_data/NetCDF/unstructured_grid/mesh_C12.nc When regridding onto the nodes of this mesh, for example via src.regrid(mesh, ESMFBilinear(tgt_location="node")), we get the following error: ValueError: row index exceeds matrix dimensions This does not happen when the mesh connectivity is edited to have a start_index of 1.

stephenworsley commented 1 year ago

Closed by #301