I'm working with some MODIS satellite imagery. MODIS data includes a
quality flag mask. For the particular dataset I'm working with, this is
a two dimensional unsigned 16 bit integer array. The quality flags are
stored as one or more bits in each integer value:
Bits are numbered from 0 (least sign
How about the masked aray filled method?
eg numpy.savetxt(somefilename, somemaskedarray.filled(somevalue))
Luke
-Original Message-
From: Guillaume Chérel
Sent: Monday, 6 September 2010 10:36 PM
To: Discussion of Numerical Python
Subject: [Numpy-discussion] saving masked array to a text fi
Simple as that...
Thanks!
-Original Message-
From: numpy-discussion-boun...@scipy.org
[mailto:numpy-discussion-boun...@scipy.org]
On Behalf Of Geordie McBain
Convert days to np.array, then you can index it with your indexmin:
days = [10, 20, 31, 41, 51, 59, 69, 79, 90, 100]
mydays
Apologies if this has been asked many times before, but I'm having
trouble even coming up with the right terms to search on.
I have an x,y,date stack of satellite images from which I need to know
on what date the max and min values occur. I can calculate the index at
which the min/max values occur