Getting mean from HDF SD files - stack in envi or read into IDL array? [message #61071] |
Fri, 04 July 2008 06:41  |
kathryn.davies1
Messages: 4 Registered: July 2008
|
Junior Member |
|
|
Hi
I am extremely new to IDL (2 weeks!) and have previously only used
envi on a small scale.
I want to read one SD dataset from from a each of a huge number of
MODIS files and having looked at IDL and envi batch routines can't
decide which is the best way. Bear in mind my limited knowledge and a
very short timeframe.... Should I write an envi batch programme and
create a big (3000bands +) envi file or should I put straight into the
an IDL array. I need to get a mean value (one image or array) and
even if it is easier in envi batch mode, would the routine
ENVI_SUM_DATA_DOIT with the Mean option deal with the missing
values???
Looking at IDL I have managed to open HDF file from command line, read
in appropriate data set to an array but how then could I build 3D
array from absolutely loads of 2D arrays.
Big questions I know - I am desperate to do this in a short time.
Any help on any aspect much appreciated.
K
|
|
|