Commit 3462bf4a authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed a bug in GeoArray.show()

updated __version__ and __versionalias__
parent 518269de
Welcome to GeoArray's documentation! Welcome to GeoArray's documentation!
====================================== ====================================
Contents: Contents:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 4
readme readme
installation installation
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
__author__ = """Daniel Scheffler""" __author__ = """Daniel Scheffler"""
__email__ = 'danschef@gfz-potsdam.de' __email__ = 'danschef@gfz-potsdam.de'
__version__ = '0.2.1' __version__ = '0.2.2'
__versionalias__ = 'v20170529.02' __versionalias__ = 'v20170529.03'
from .baseclasses import GeoArray from .baseclasses import GeoArray
......
...@@ -873,8 +873,8 @@ class GeoArray(object): ...@@ -873,8 +873,8 @@ class GeoArray(object):
image2plot, gt, prj = self.get_mapPos(boundsMap, boundsMapPrj, band2get=band, image2plot, gt, prj = self.get_mapPos(boundsMap, boundsMapPrj, band2get=band,
fillVal=nodataVal if nodataVal is not None else self.nodata) fillVal=nodataVal if nodataVal is not None else self.nodata)
else: else:
cS, cE = xlim if isinstance(xlim, (tuple, list)) else (0, self.columns - 1) cS, cE = xlim if isinstance(xlim, (tuple, list)) else (0, self.columns)
rS, rE = ylim if isinstance(ylim, (tuple, list)) else (0, self.rows - 1) rS, rE = ylim if isinstance(ylim, (tuple, list)) else (0, self.rows)
image2plot = self[rS:rE, cS:cE, band] if band is not None else self[rS:rE, cS:cE] image2plot = self[rS:rE, cS:cE, band] if band is not None else self[rS:rE, cS:cE]
gt, prj = self.geotransform, self.projection gt, prj = self.geotransform, self.projection
......
...@@ -20,7 +20,7 @@ test_requirements = [ ...@@ -20,7 +20,7 @@ test_requirements = [
setup( setup(
name='geoarray', name='geoarray',
version='0.2.1', version='0.2.2',
description="Fast Python interface for geodata - either on disk or in memory.", description="Fast Python interface for geodata - either on disk or in memory.",
long_description=readme + '\n\n' + history, long_description=readme + '\n\n' + history,
author="Daniel Scheffler", author="Daniel Scheffler",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment