-
Notifications
You must be signed in to change notification settings - Fork 297
Open
Labels
Description
🐛 Bug Report
When one of the cubes involved in regridding has coordinates with a geostationary coordinate system, their units ought to be in radians, however iris insists that they ought to be in meters and regridding will fail when it gets to this line:
iris/lib/iris/analysis/_regrid.py
Lines 876 to 881 in c526ce0
if coord.units != "m": | |
msg = ( | |
"Unsupported units for coordinate system. " | |
"Expected 'metres' got {!r}.".format(coord.units) | |
) | |
raise ValueError(msg) |
This logic should be changed to allow for gesostationary coordinates with radian units.
See Proj for a description of the geostationary projection: https://proj.org/en/9.3/operations/projections/geos.html
bjlittle and trexfeathers