Skip to content

Commit caae450

Browse files
authored
Extra datum translation (#4753)
1 parent ba07f7b commit caae450

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/iris/coord_systems.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def as_cartopy_projection(self):
143143

144144
_short_datum_names = {
145145
"OSGB 1936": "OSGB36",
146+
"OSGB_1936": "OSGB36",
146147
"WGS 84": "WGS84",
147148
}
148149

lib/iris/tests/integration/test_netcdf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ def test_no_load_datum_cf_var(self):
628628

629629
def test_save_datum(self):
630630
expected = "OSGB 1936"
631-
# saved_crs = iris.coord_systems.GeogCS.from_datum(datum="OSGB36")
632631
saved_crs = iris.coord_systems.Mercator(
633632
ellipsoid=iris.coord_systems.GeogCS.from_datum("OSGB36")
634633
)

0 commit comments

Comments
 (0)