comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Question on MODIS Conversion Toolkit
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Question on MODIS Conversion Toolkit [message #70651] Mon, 26 April 2010 04:45 Go to previous message
Harry Kim is currently offline  Harry Kim
Messages: 16
Registered: April 2010
Junior Member
Hi, Everyone. I am back with MODIS Converision Toolkit (MCTK)
Question.

Are there anyone working on MODIS data?

I am working on various MODIS products for ecohydrological processes
in Korean penninsula. I tried to use MODIS Conversion Toolkit in
programming mode. This tool seems to be useful to process various
kinds of MODIS products.

AS some of you know this very well, we can do MCTK both in GUI mod and
in batch (programming) mod. I have to process thousands of file, and I
cannot do this in GUI mode.

Everytime I tried in programming mod, I got this error message.

"Map information contains an invaild pixel size. This file will not be
georeferenced."

Strangely, there was no problem in making images when I tried with the
same value in GUI mode.

This is what I have done so far. Please take a look, and let me know
what to do.

Hyun Woo

-------------------------------
PRO MCTK_MOD11
compile_opt idl2
modis_grid_file = 'D:\MODIS11\Data
\MYD11A1.005\MYD11A1.A2002189.h28v05.005.2007216150809.hdf'
output_location = 'D:\MODIS11\output'
output_rootname = 'MYD11_LST'
grid_name = 'MOD_Grid_Daily_1km_LST'
sd_names = ['LST_Day_1km']
out_method = 1
output_projection = envi_proj_create(/geographic)
;out_ps_x = 0.008365
;out_ps_y = 0.008365
interpolation_method = 6
convert_modis_data, in_file=modis_grid_file, $
out_path = output_location, out_root= output_rootname, $
/higher_product, /grid, gd_name=grid_name, sd_names=sd_names, $
out_method= out_method, out_proj=output_projection, $
out_ps_x = 0.008365, out_ps_y = 0.08365, num_x_pts=50,
num_y_pts=50, interp_method=interpolation_method ;, $
background = -999
end
----------------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget_windows, scrolling and refreshing
Next Topic: Information about scroll action - new position/offset information?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:07:53 PDT 2025

Total time taken to generate the page: 0.00402 seconds