Commit ca3294e1 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix Issue #7: GeoArray.get_subset()

updated __version__ and __versionalias__
parent 9586436b
......@@ -2,8 +2,8 @@
__author__ = """Daniel Scheffler"""
__email__ = 'danschef@gfz-potsdam.de'
__version__ = '0.3.2'
__versionalias__ = 'v20170614.01'
__version__ = '0.3.3'
__versionalias__ = 'v20170616.01'
from .baseclasses import GeoArray
......
......@@ -1235,9 +1235,9 @@ class GeoArray(object):
:return:
"""
sub_arr = self[xslice if xslice else slice(None),
yslice if yslice else slice(None),
zslice if zslice else slice(None)]
sub_arr = self[yslice if yslice else slice(None), # row
xslice if xslice else slice(None), # col
zslice if zslice else slice(None)] # band
sub_ulXY = imXY2mapXY((xslice.start, yslice.start), self.gt)
sub_gt = (sub_ulXY[0], self.gt[1], self.gt[2], sub_ulXY[1], self.gt[4], self.gt[5])
sub_gA = GeoArray(sub_arr, sub_gt, self.prj)
......
......@@ -20,7 +20,7 @@ test_requirements = [
setup(
name='geoarray',
version='0.3.2',
version='0.3.3',
description="Fast Python interface for geodata - either on disk or in memory.",
long_description=readme + '\n\n' + history,
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