File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -407,6 +407,16 @@ def _setup_spatial_map(
407407 central_rotated_longitude = central_longitude ,
408408 )
409409 crs = projection
410+ elif isinstance (coord_system , iris .coord_systems .TransverseMercator ):
411+ # Define Transverse Mercator projection for TM inputs.
412+ projection = ccrs .TransverseMercator (
413+ central_longitude = coord_system .longitude_of_central_meridian ,
414+ central_latitude = coord_system .latitude_of_projection_origin ,
415+ false_easting = coord_system .false_easting ,
416+ false_northing = coord_system .false_northing ,
417+ scale_factor = coord_system .scale_factor_at_central_meridian ,
418+ )
419+ crs = projection
410420 else :
411421 # Define regular map projection for non-rotated pole inputs.
412422 # Alternatives might include e.g. for global model outputs:
You can’t perform that action at this time.
0 commit comments