Open
Description
🐛 Bug Report
In _shapefiles._transform_coord_system
the geometry_system
var is always None
which results in masking geometries always being assume to be DEFAULT_CS
which is a lon/lat CRS.
Line 94 in b8f554f
👇
Line 119 in b8f554f
Even if the cube and masking geometry have the same CRS and are in a non-lat/lon CRS (e.g. OSGB) the masking result will wrongly assign the masking geometry a lon/lat CRS. The function doesn't fail, but results in an incorrect masking result.
Expected behaviour
These functions need better handling of non-lat/lon CRSs by retrieving the true CRS (where it exists).
Environment
- Iris Version: 3.10
Metadata
Metadata
Assignees
Type
Projects
Status
No status