Issue
I have scans of data from Africa that are from the same day at different times. I'd like to consolidate the data into one one array. How can I do that?
np.add(x,y, where=some possbile function?)
Edit: In case it's unclear. I would like to have on image with all of the yellow from the two images.
Solution
I figured out a solution. You can use another array in the np.where() function. So the data here is split up in am and pm passes
both = np.where(data_am < 0, data_pm ,data_am)
combined = np.where(both < 0, 0 ,both)
Answered By - TheJeran
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.