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

Home » Public Forums » archive » MODIS data projection:
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
MODIS data projection: [message #63126] Wed, 29 October 2008 07:50 Go to next message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
Hello,
I want to reproject MODIS higher order reflectance/emissivity data to
UTM coordinates using IDL. I got the white paper for the MODIS TOOL.
My problem is that the UTM zone is different depending on the grid
values h09v05,h10v05, etc. Should I use FOR loop, or CASE, or WHERE
routines?
Here is the file names.

MOD43B4.A2000049.h09v05.004.2002357024540.hdf
MOD43B4.A2000049.h10v05.004.2002357034015.hdf
MOD43B4.A2000193.h08v05.004.2003043002112.hdf
MOD43B4.A2000353.h08v04.004.2003077055209.hdf
MOD43B4.A2000353.h09v04.004.2003077070335.hdf
....

Thanks
Re: MODIS data projection: [message #63216 is a reply to message #63126] Fri, 31 October 2008 01:26 Go to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
On Oct 30, 2:26 pm, alkalifly <alkali...@gmail.com> wrote:
> On Oct 29, 3:34 pm, David Fanning <n...@dfanning.com> wrote:
>
>> Bulrush writes:
>>> But, I have to process at least 1000 images. That tool handles one by
>>> one.
>
>>> Any other constructive advice? :-)
>
>> Perl script? :-)
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Coyote's Guide to IDL Programming (www.dfanning.com)
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Actually, you don't even need perl for the MRT.  A plain old shell
> script works fine.  If the original poster really needs this to be
> part of some larger IDL program, then they can just call the MRT using
> spawn.

Hello All,
Finally, I accepted MCRT from ITTVIS, the Modis COnversion Tool works
fine this.

Thanks
Re: MODIS data projection: [message #63222 is a reply to message #63126] Thu, 30 October 2008 12:26 Go to previous message
alkalifly is currently offline  alkalifly
Messages: 2
Registered: October 2008
Junior Member
On Oct 29, 3:34 pm, David Fanning <n...@dfanning.com> wrote:
> Bulrush writes:
>> But, I have to process at least 1000 images. That tool handles one by
>> one.
>
>> Any other constructive advice? :-)
>
> Perl script? :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Actually, you don't even need perl for the MRT. A plain old shell
script works fine. If the original poster really needs this to be
part of some larger IDL program, then they can just call the MRT using
spawn.
Re: MODIS data projection: [message #63223 is a reply to message #63126] Thu, 30 October 2008 12:24 Go to previous message
alkalifly is currently offline  alkalifly
Messages: 2
Registered: October 2008
Junior Member
On Oct 29, 3:34 pm, David Fanning <n...@dfanning.com> wrote:
> Bulrush writes:
>> But, I have to process at least 1000 images. That tool handles one by
>> one.
>
>> Any other constructive advice? :-)
>
> Perl script? :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Actually, you don't even need perl for the MRT. A plain old shell
script works fine. If the original poster really needs this to be
part of some larger IDL program, then they can just call ther
Re: MODIS data projection: [message #63244 is a reply to message #63126] Thu, 30 October 2008 02:47 Go to previous message
devin.white is currently offline  devin.white
Messages: 50
Registered: March 2007
Member
On Oct 29, 6:39 pm, Bulrush <Wasit.Weat...@gmail.com> wrote:
> On Oct 29, 10:50 am, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>> liamgum...@gmail.com writes:
>>> I don't think IDL is the right tool for this task. Have you tried the
>>> MODIS Reprojection Tool?
>
>>> http://lpdaac.usgs.gov/landdaac/tools/modis/
>
>>> It is free, and it handles  all the gridded MODIS Land products.
>
>> I'll second this suggestion.
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> I am working on at least 1000 images. I think I stick to IDL. Is there
> any constructive suggestion? :-)
>
> Thanks- Hide quoted text -
>
> - Show quoted text -

You could try the MODIS Conversion Toolkit, which can handle single
and batch mode processing of all known products. It's an ENVI
plugin. You can download it here: http://www.ittvis.com/UserCommunity/CodeLibrary.aspx.
Search for "MODIS" and you'll find it.
Re: MODIS data projection: [message #63256 is a reply to message #63126] Wed, 29 October 2008 15:39 Go to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
On Oct 29, 10:50 am, David Fanning <n...@dfanning.com> wrote:
> liamgum...@gmail.com writes:
>> I don't think IDL is the right tool for this task. Have you tried the
>> MODIS Reprojection Tool?
>
>> http://lpdaac.usgs.gov/landdaac/tools/modis/
>
>> It is free, and it handles  all the gridded MODIS Land products.
>
> I'll second this suggestion.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I am working on at least 1000 images. I think I stick to IDL. Is there
any constructive suggestion? :-)

Thanks
Re: MODIS data projection: [message #63257 is a reply to message #63126] Wed, 29 October 2008 15:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bulrush writes:

> But, I have to process at least 1000 images. That tool handles one by
> one.
>
> Any other constructive advice? :-)

Perl script? :-)

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: MODIS data projection: [message #63258 is a reply to message #63126] Wed, 29 October 2008 15:32 Go to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
On Oct 29, 10:50 am, David Fanning <n...@dfanning.com> wrote:
> liamgum...@gmail.com writes:
>> I don't think IDL is the right tool for this task. Have you tried the
>> MODIS Reprojection Tool?
>
>> http://lpdaac.usgs.gov/landdaac/tools/modis/
>
>> It is free, and it handles  all the gridded MODIS Land products.
>
> I'll second this suggestion.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

But, I have to process at least 1000 images. That tool handles one by
one.

Any other constructive advice? :-)

Thanks
Re: MODIS data projection: [message #63265 is a reply to message #63126] Wed, 29 October 2008 08:50 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
liamgumley@gmail.com writes:

> I don't think IDL is the right tool for this task. Have you tried the
> MODIS Reprojection Tool?
>
> http://lpdaac.usgs.gov/landdaac/tools/modis/
>
> It is free, and it handles all the gridded MODIS Land products.

I'll second this suggestion.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: MODIS data projection: [message #63267 is a reply to message #63126] Wed, 29 October 2008 08:49 Go to previous message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
On Oct 29, 9:50 am, Bulrush <Wasit.Weat...@gmail.com> wrote:
> Hello,
> I want to reproject  MODIS higher order reflectance/emissivity data to
> UTM coordinates using IDL. I got the white paper for the MODIS TOOL.
> My problem is that the UTM zone is different depending on the grid
> values h09v05,h10v05, etc. Should I use FOR loop, or CASE, or WHERE
> routines?
> Here is the file names.
>
> MOD43B4.A2000049.h09v05.004.2002357024540.hdf
> MOD43B4.A2000049.h10v05.004.2002357034015.hdf
> MOD43B4.A2000193.h08v05.004.2003043002112.hdf
> MOD43B4.A2000353.h08v04.004.2003077055209.hdf
> MOD43B4.A2000353.h09v04.004.2003077070335.hdf
> ....
>
> Thanks

I don't think IDL is the right tool for this task. Have you tried the
MODIS Reprojection Tool?

http://lpdaac.usgs.gov/landdaac/tools/modis/

It is free, and it handles all the gridded MODIS Land products.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Looking for info about warping images in IDL!
Next Topic: release plans of idl

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

Current Time: Wed Oct 08 20:02:24 PDT 2025

Total time taken to generate the page: 0.00675 seconds