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

Updated HISTORY.rst.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent b0ae9270
Pipeline #21798 passed with stage
in 1 minute and 47 seconds
......@@ -2,6 +2,14 @@
History
=======
0.10.12 (2021-04-13)
--------------------
* GeoArray.__getitem__() now first reads a band subset instead of the whole array if only a single band is requested
(fixes #31).
* Fixed remaining test outputs aufter running Test_Geoarray.test_save().
0.10.11 (2021-04-08)
--------------------
......
......@@ -571,6 +571,7 @@ class GeoArray(object):
elif isinstance(given, (tuple, list)):
# handle requests like geoArr[[1,2],[3,4] -> not implemented in from_path if array is not in mem
types = [type(i) for i in given]
if list in types or tuple in types:
# avoid that the whole cube is read if only data from a single band is requested
......
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