From da3cfe8fcc0b4eb75cee3896cfa7814235bd75c1 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 21 Aug 2023 16:18:40 +0200 Subject: [PATCH 1/2] Fix bug in corner lat/lon for LatLon2DGridDescriptor The lat and lon were swapped!!! --- pyremap/descriptor/lat_lon_2d_grid_descriptor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyremap/descriptor/lat_lon_2d_grid_descriptor.py b/pyremap/descriptor/lat_lon_2d_grid_descriptor.py index c470337..0c38596 100644 --- a/pyremap/descriptor/lat_lon_2d_grid_descriptor.py +++ b/pyremap/descriptor/lat_lon_2d_grid_descriptor.py @@ -151,9 +151,9 @@ def to_scrip(self, scripFileName): outFile.variables['grid_imask'][:] = 1 outFile.variables['grid_corner_lat'][:] = \ - unwrap_corners(self.lonCorner) - outFile.variables['grid_corner_lon'][:] = \ unwrap_corners(self.latCorner) + outFile.variables['grid_corner_lon'][:] = \ + unwrap_corners(self.lonCorner) setattr(outFile, 'history', self.history) From 45de414c11bfff5fd1a2b57b0fa790862e5e4579 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 21 Aug 2023 16:21:36 +0200 Subject: [PATCH 2/2] Update to v1.0.1 --- ci/recipe/meta.yaml | 2 +- docs/versions.rst | 3 +++ pyremap/__init__.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/recipe/meta.yaml b/ci/recipe/meta.yaml index a4c64f7..334ba3e 100644 --- a/ci/recipe/meta.yaml +++ b/ci/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "pyremap" %} -{% set version = "1.0.0" %} +{% set version = "1.0.1" %} package: name: {{ name|lower }} diff --git a/docs/versions.rst b/docs/versions.rst index 7ae0a74..fb84800 100644 --- a/docs/versions.rst +++ b/docs/versions.rst @@ -17,6 +17,7 @@ Documentation On GitHub `v0.0.15`_ `0.0.15`_ `v0.0.16`_ `0.0.16`_ `v1.0.0`_ `1.0.0`_ +`v1.0.1`_ `1.0.1`_ ================ =============== .. _`stable`: ../stable/index.html @@ -32,6 +33,7 @@ Documentation On GitHub .. _`v0.0.15`: ../0.0.15/index.html .. _`v0.0.16`: ../0.0.16/index.html .. _`v1.0.0`: ../1.0.0/index.html +.. _`v1.0.1`: ../1.0.1/index.html .. _`main`: https://github.com/MPAS-Dev/pyremap/tree/main .. _`0.0.6`: https://github.com/MPAS-Dev/pyremap/tree/0.0.6 .. _`0.0.7`: https://github.com/MPAS-Dev/pyremap/tree/0.0.7 @@ -45,3 +47,4 @@ Documentation On GitHub .. _`0.0.15`: https://github.com/MPAS-Dev/pyremap/tree/0.0.15 .. _`0.0.16`: https://github.com/MPAS-Dev/pyremap/tree/0.0.16 .. _`1.0.0`: https://github.com/MPAS-Dev/pyremap/tree/1.0.0 +.. _`1.0.1`: https://github.com/MPAS-Dev/pyremap/tree/1.0.1 diff --git a/pyremap/__init__.py b/pyremap/__init__.py index e31100e..2293536 100644 --- a/pyremap/__init__.py +++ b/pyremap/__init__.py @@ -10,5 +10,5 @@ from pyremap.polar import get_polar_descriptor, get_polar_descriptor_from_file from pyremap.remapper import Remapper -__version_info__ = (1, 0, 0) +__version_info__ = (1, 0, 1) __version__ = '.'.join(str(vi) for vi in __version_info__)