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 will fail for cubes with both 1D and 2D lat/lon coords #177

Closed stephenworsley closed 2 years ago

stephenworsley commented 2 years ago

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.

github-actions[bot] commented 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.

github-actions[bot] commented 2 years ago

@SciTools-incubator/esmf-regrid-devs This stale issue has been automatically closed due to no community activity