Closed stephenworsley closed 2 years ago
@SciTools-incubator/esmf-regrid-devs This issue is stale due to a lack of activity in the last 90 days. Remove stale label or comment, otherwise this issue will close automatically in 7 days time.
@SciTools-incubator/esmf-regrid-devs This stale issue has been automatically closed due to no community activity
An edge case we could expect would be for a cube which has lat/lon DimCoords but also has lat/lon AuxCoords (e.g.
latitude
,grid_latitude
,projection_y_coordinate
). This would trip up our code here for example:https://github.com/SciTools-incubator/iris-esmf-regrid/blob/eca3a2a0dc4d5a2e8a2c8ae8535127f719d5fa4c/esmf_regrid/schemes.py#L27
In cases where this happens, we ought to accept the DimCoord and ignore the AuxCoords.