Numpy masked operations failing due to comparison functions for __eq__
#822
Unanswered
scottstanie
asked this question in
Q&A
Replies: 1 comment 1 reply
-
well if you do |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using the
Reader
's.read
method on a geotiff gives backImageData
. I expected to be able to runnp.nansum
on it, but I getValueError: The truth value of an array with more than one element is ambiguous.
.Running
np.sum
works fine.Reproducing script:
Traceback
Beta Was this translation helpful? Give feedback.
All reactions