Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Daniel Scheffler
geoarray
Commits
ca3294e1
Commit
ca3294e1
authored
Jun 16, 2017
by
Daniel Scheffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix Issue
#7
: GeoArray.get_subset()
updated __version__ and __versionalias__
parent
9586436b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
geoarray/__init__.py
geoarray/__init__.py
+2
-2
geoarray/baseclasses.py
geoarray/baseclasses.py
+3
-3
setup.py
setup.py
+1
-1
No files found.
geoarray/__init__.py
View file @
ca3294e1
...
...
@@ -2,8 +2,8 @@
__author__
=
"""Daniel Scheffler"""
__email__
=
'danschef@gfz-potsdam.de'
__version__
=
'0.3.
2
'
__versionalias__
=
'v2017061
4
.01'
__version__
=
'0.3.
3
'
__versionalias__
=
'v2017061
6
.01'
from
.baseclasses
import
GeoArray
...
...
geoarray/baseclasses.py
View file @
ca3294e1
...
...
@@ -1235,9 +1235,9 @@ class GeoArray(object):
:return:
"""
sub_arr
=
self
[
x
slice
if
x
slice
else
slice
(
None
),
y
slice
if
y
slice
else
slice
(
None
),
zslice
if
zslice
else
slice
(
None
)]
sub_arr
=
self
[
y
slice
if
y
slice
else
slice
(
None
),
# row
x
slice
if
x
slice
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
)
...
...
setup.py
View file @
ca3294e1
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment