Importing a selected band using IDL command for ENVI [message #90037] |
Sun, 18 January 2015 06:11  |
hcem
Messages: 2 Registered: January 2015
|
Junior Member |
|
|
Hi. I'm not a Remote Sensing student, but I have plans to take it in the future. I've been guided by a teacher of mine lately, but it's not everyday I can ask her questions so it is great to join this group.
I'm not that new at ENVI Classic but I'm new at using IDL for ENVI Classic. I've been practicing on MOD13A3 files for an upcoming project. I'm trying to write a code to import a selected band (1 Km Monthly NDVI, for example) from a number of files, then subset through EVF, then save it in a selected file format but I'm having problems on the import part. I thought ENVI_SELECT can handle opening only a single band through pos but I'm probably doing it wrong. Also, when I open a single file from the MOD13A3 files and look at the available bands list I see it as three "separate" file trees (one separate tree for the reflectances, EVI, and NDVI).
My question is, is it possible to open only one of those "separate" files for a number of files using ENVI Classic with IDL?
Best Regards,
Harry
|
|
|
Re: Importing a selected band using IDL command for ENVI [message #90038 is a reply to message #90037] |
Mon, 19 January 2015 06:33   |
Jonas Ardo
Messages: 12 Registered: April 2014
|
Junior Member |
|
|
On 18/01/2015 15:11, hcem wrote:
> Hi. I'm not a Remote Sensing student, but I have plans to take it in
the future. I've been guided by a teacher of mine lately, but it's not
everyday I can ask her questions so it is great to join this group.
>
> I'm not that new at ENVI Classic but I'm new at using IDL for ENVI
Classic. I've been practicing on MOD13A3 files for an upcoming project.
I'm trying to write a code to import a selected band (1 Km Monthly NDVI,
for example) from a number of files, then subset through EVF, then save
it in a selected file format but I'm having problems on the import part.
I thought ENVI_SELECT can handle opening only a single band through pos
but I'm probably doing it wrong. Also, when I open a single file from
the MOD13A3 files and look at the available bands list I see it as three
"separate" file trees (one separate tree for the reflectances, EVI, and
NDVI).
>
> My question is, is it possible to open only one of those "separate"
files for a number of files using ENVI Classic with IDL?
>
> Best Regards, Harry
>
Harry
Try The MODIS Conversion Toolkit plugin for ENVI from
https://github.com/dawhite/MCTK
Reads many types of MODIS data, both interactively and programmatically,
allow selection of bands, re-projection etc
--
Jonas Ardö
|
|
|
|