Skip to content

Commit 95713c2

Browse files
pp-mobjlittle
authored andcommitted
Fix for changed API of cartopy.crs.Stereographic (#2971)
* Fix for changed API of cartopy.crs.Stereographic; fixes tests.test_coordsystem. * License header fix.
1 parent 3d692fd commit 95713c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/coord_systems.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# (C) British Crown Copyright 2010 - 2016, Met Office
1+
# (C) British Crown Copyright 2010 - 2018, Met Office
22
#
33
# This file is part of Iris.
44
#
@@ -719,7 +719,7 @@ def as_cartopy_crs(self):
719719
return ccrs.Stereographic(
720720
self.central_lat, self.central_lon,
721721
self.false_easting, self.false_northing,
722-
self.true_scale_lat, globe)
722+
self.true_scale_lat, globe=globe)
723723

724724
def as_cartopy_projection(self):
725725
return self.as_cartopy_crs()

0 commit comments

Comments
 (0)