Skip to content

fix bool array index bug for h5 dataset#470

Merged
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:index
Nov 8, 2020
Merged

fix bool array index bug for h5 dataset#470
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:index

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented Nov 8, 2020

Description of proposed changes

Reminders

  • Pass Codacy code review (green)
  • Pass Circle CI test (green)

+ readfile & stack: fix a bug of fancy indexing with numpy boolean array in h5py dataset (https://docs.h5py.org/en/stable/high/dataset.html#fancy-indexing), which is used in utils/readfile.py and objects/stack.py. This seems to be a bug in h5py side because it was working before.

+ prep_aria: fix a bug in gdal*.ReadAsArray() from numpy array int64 type to native python int16 type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant