X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 18 Jul 2006 04:40 PM by  anon
batch processing w/ MODIS HDF files
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
18 Jul 2006 04:40 PM
    Hi I'm trying to learn how to use ENVI in batch mode because I've got hundreds of MODIS MOD04 and MOD06 (aerosol and cloud product) files that need to be analyzed. I've been going thru the examples in RSI's Envi Programming training manual, specifically those in chapter 2 regarding ROI's (Regions of Interest) and the examples in chapter 3, the ones related to automated batch processing. I've encounterd 2 problems with regards to using HDF files: First, i am unable to open an HDF file in ENVI batch without having a window popping up, prompting me to input some of the file attributes...this sort of defeats the whole point of automated batch processing.. Second i have not successfully been able to generate a Region of Interest using the "ENVI_ROI_CREATE" and the "ENVI_ROI_DEFINE" functions. When i go thru the steps, it first appears that an ROI has been created, but when i open up the file in ENVI and restore the ROI file, it does not get restored, yet it tells me that has been restored! I'm assuming that the SDS's in HDF files cannot be treated in the same way as "Bands" in any other normal image file. Do I need to, somehow, extract on of the SDS's in the file and save it as a separate file before creating my ROIs? Apologies of my computer programming vocabulary is not very precise. I'm not much of a programmer. Patrick
    You are not authorized to post a reply.