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

Home » Public Forums » archive » Re: Reprojecting an image file derived from Level 1B MODIS HDF
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: Reprojecting an image file derived from Level 1B MODIS HDF [message #74197 is a reply to message #74196] Mon, 03 January 2011 02:19 Go to previous messageGo to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Hi,

On 01/03/2011 02:42 AM, David Fanning wrote:
> Kasia writes:
>
>> I have an image file that I created using IDL from a Level 1B MODIS
>> HDF file. I now need to reproject this image file to display in Google
>> Earth, but I'm having a hard time figuring out how to do this. The
>> code that generated the image file also outputs a lat/lon for each
>> value so I thought that would help since there is geographic
>> information contained in the image file. But, that hasn't helped me.
>>
>> I've tried applying the header information from the original HDF file
>> to the new image file using ENVI because I know it can read these
>> MODIS files, but that hasn't worked too well. ENVI can reproject the
>> MODIS HDF file beautifully but I also need it to do the same for the
>> new image file.
>>
>> All of the projection and lat/lon information in the new image file is
>> identical to that of the original MODIS HDF file that I can easily
>> reproject in ENVI. I just can't figure out how to add that information
>> to the image file so ENVI can do the same sort of magic on the new
>> file.
>
> Google Earth wants everything in a simple cylindrical
> projection with a WGS84 datum. I would just use Map_Proj_Image
> to warp your image, in its native projection, to a
> Cylindrical projection.

Yes, but if this is easy with MODIS L2 products which are sinusoidal
projection, the L1 products are swath files. I know the EOS_ routines
provide easy tools to get the lat and lons for your grid but this is not
very nice since the grid has no proper projection.

Probably the EOS_ routines (or David Fannings Catalyst) provide methods
to transform your swath files into a nice projection but I am not sure
where to find those tools.

Tell me if you find them!


Fabi
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: array handling
Next Topic: Random NetCDF I/O error

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

Current Time: Fri Oct 10 01:27:04 PDT 2025

Total time taken to generate the page: 1.76154 seconds