From 9f36eebccec14c75dbaa31c81c0f980d52eafb21 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Mon, 27 Mar 2017 13:50:49 -0600 Subject: [PATCH] Fix initialization issues with polar stereographic and latlon map projections. Addresses #11. --- doc/source/new.rst | 8 ++++++++ src/wrf/projection.py | 6 ++---- src/wrf/version.py | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/source/new.rst b/doc/source/new.rst index 50ff240..c222dc4 100644 --- a/doc/source/new.rst +++ b/doc/source/new.rst @@ -4,6 +4,14 @@ What's New Releases ------------- +v1.0.1 +^^^^^^^^^^^^^ + +- Release 1.0.1 +- Fixed issue with initialization of PolarStereographic and LatLon map + projection objects. + + v1.0.0 ^^^^^^^^^^^^^ diff --git a/src/wrf/projection.py b/src/wrf/projection.py index 851836d..2485ece 100644 --- a/src/wrf/projection.py +++ b/src/wrf/projection.py @@ -675,8 +675,7 @@ class PolarStereographic(WrfProj): - 'POLE_LON': Pole longitude. """ - super(PolarStereographic, self).__init__(bottom_left, - top_right, lats, lons, **proj_params) + super(PolarStereographic, self).__init__(**proj_params) self._hemi = -90. if self.truelat1 < 0 else 90. self._lat_ts = (None if _ismissing(self.truelat1) @@ -792,8 +791,7 @@ class LatLon(WrfProj): - 'POLE_LON': Pole longitude. """ - super(LatLon, self).__init__(bottom_left, top_right, - lats, lons, **proj_params) + super(LatLon, self).__init__(**proj_params) def _cf_params(self): diff --git a/src/wrf/version.py b/src/wrf/version.py index 457dc1a..f24c16c 100644 --- a/src/wrf/version.py +++ b/src/wrf/version.py @@ -1,2 +1,2 @@ -__version__ = "1.0.0" +__version__ = "1.0.1"