Skip to content

Commit

Permalink
Fix for recipe_seaice_drift.yml: fix CRS transformer for "North Pol…
Browse files Browse the repository at this point in the history
…e Stereographic" (#3531)
  • Loading branch information
flicj191 authored Feb 20, 2024
1 parent e6e7a41 commit 0c933ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esmvaltool/diag_scripts/seaice_drift/seaice_drift.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ def __init__(self, polygon=None, lat=None, lon=None):

polygon.append(polygon[0])
self.transformer = Transformer.from_crs("WGS84",
"North_Pole_Stereographic")
"North_Pole_Stereographic",
always_xy=True)

transformed = []
for lon_val, lat_val in polygon:
Expand Down

0 comments on commit 0c933ad

Please sign in to comment.