SciTools-incubator / iris-esmf-regrid

A collection of structured and unstructured ESMF regridding schemes for Iris.
BSD 3-Clause "New" or "Revised" License
17 stars 17 forks source link

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

Closed stephenworsley closed 10 months ago

stephenworsley commented 10 months 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 10 months ago

Closed by #301