X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Oct 2008 08:17 AM by  anon
MODIS Conversion Toolkit - How to add batch processing
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
31 Oct 2008 08:17 AM
    Hi, I am new to ENVI and IDL. I would like to do reprojection of 700 files of MODIS images. From MODIS Conversion Toolkit, I could do reprojection. But it takes only one file. Therefore, i would like to know how to add batch processing in the following program. I want to reproject to UTM, WGS 84, Zone 43. Could someone help me, please.................... Thanks in advance Shijo This is program from MCTK ------------------------------------------------- ;Level 1B example     pro test_batch_modis_conversion_level_1b     compile_opt idl2     modis_l1b_file = 'C:\MOD021KM.A2007079.0855.005.2007079160027.hdf' ;The specified output location MUST end in the appropriate path ;separator for your OS     output_location = 'C:\MCTK_Output\'     output_rootname = 'level_1b' ;Calibration method schema is: ;0 = Radiance \ Emissivity, 1 = Reflectance \ Emissivity     calib_method = 1 ;    Output method schema is: ;0 = Standard, 1 = Projected, 2 = Standard and Projected     out_method = 1     output_projection = envi_proj_create(/geographic) ;Use bow tie correction during the projection process     convert_modis_data, in_file=modis_l1b_file, out_path=output_location, $     out_root=output_rootname, /l1b, out_method=out_method, $     out_proj=output_projection, calib_method=calib_method, /bowtie, $     sd_pos=[1,3], /no_msg, background=0.0 end

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Nov 2008 03:44 AM
    you Can get this from the user guide. Multiple file conversion must be carried out one file at a time, so running CONVERT_MODIS_DATA on multiple files will require the construction of a FOR loop that passes each file of interest into the routine sequentially

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Nov 2008 09:01 AM
    Thanks for your comments. I have solved the problem. Now, I'm in the middle of another problem. How to subset this image with the vector layer of my study area in the batch mode.  Comments from the memebrs are highly appreciable. Cheers Shijo

    Deleted User



    New Member


    Posts:
    New Member


    --
    27 May 2010 09:25 AM
    Hi, Can anyone please help me how to use the MODIS tool kit. I am using MODIS Aqua L2 data. I want to project my data (It does not have any projection). Thanks, Singaiah
    You are not authorized to post a reply.