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

Home » Public Forums » archive » Re: 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
Re: Question on MODIS Conversion Toolkit [message #70621] Tue, 27 April 2010 17:52 Go to previous message
Harry Kim is currently offline  Harry Kim
Messages: 16
Registered: April 2010
Junior Member
On Apr 28, 5:41 am, "devin.wh...@gmail.com" <devin.wh...@gmail.com>
wrote:
> I think your problem is here:
>
>> out_ps_x = 0.008365, out_ps_y = 0.08365
>
> The output pixel size for Y is too large (by a factor of 10).  That's
> probably leading to an output array size that is too small for the
> georeferencing routines to handle.
>
> On Apr 26, 7:45 am, Harry Kim <kim4ecohy...@gmail.com> wrote:
>
>
>
>> 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
>> ----------------------------------------

Thank you, Devine, then what is your suggested values?

In addition, it is interesting. This value is no problem in GUI Mod.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: ms2gt MODIS reprojection toolkit
Next Topic: Could you explain why this happen?

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

Current Time: Wed Oct 08 19:19:45 PDT 2025

Total time taken to generate the page: 0.00496 seconds