Skip to content

Commit

Permalink
Merge pull request #54 from xylar/fix-lat-lon-2d-corners
Browse files Browse the repository at this point in the history
Fix bug in corner lat/lon for LatLon2DGridDescriptor
  • Loading branch information
xylar authored Aug 21, 2023
2 parents c446938 + 45de414 commit ab7b78a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "pyremap" %}
{% set version = "1.0.0" %}
{% set version = "1.0.1" %}

package:
name: {{ name|lower }}
Expand Down
3 changes: 3 additions & 0 deletions docs/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion pyremap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
4 changes: 2 additions & 2 deletions pyremap/descriptor/lat_lon_2d_grid_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ab7b78a

Please sign in to comment.