<body><div dir="ltr" align="left"><span class="700354107-19012011"></span> </div>
<div dir="ltr" align="left"><span class="700354107-19012011"><span style="font-family: Arial; color: #0000ff; font-size: x-small;">So it is a problem with gdalwarp and the GCPs ín the GeoTiff. Do you have any hints how to go on with this problem? </span></span></div>
<div><span class="700354107-19012011"></span><span style="font-family: Arial;"><span style="color: #0000ff;"><span style="font-size: x-small;">Cheers, Anna</span></span></span></div>
<span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;"></span></span></span></span></span><span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;"><br /></span></span></span></span></span><span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;">
<blockquote style="border-left: 2px solid blue; margin-left: 5px; padding-left: 5px; padding-top: 5px;">
<hr />
<b>Von:</b> "Nikolaos Hatzopoulos" <nhatzop@gmail.com><br /><b>Gesendet:</b> 19.01.2011 01:33:43<br /><b>An:</b> "anna auge" <annaauge@web.de><br /><b>Betreff:</b> Re: [gdal-dev] Modis L1B SWATH: georef problem hdf to geotiff<br /><br />You are right, I notice that there isn't any difference from the<br />band_1.tiff and band_1_warp.tiff<br /><br />--Nikos Hatzopoulos<br /><br />
<div class="gmail_quote">On Mon, Jan 17, 2011 at 8:15 AM, anna auge <span><<a href="mailto:annaauge@web.de">annaauge@web.de</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div style="background-repeat: repeat; background-color: #ffffff; color: #000000; font-family: verdana,geneva; font-size: 9pt; padding-left: 0px;">
<div style="min-height: 200px; background-repeat: repeat; background-color: #ffffff; font-family: verdana,geneva; font-size: 9pt; padding-left: 0px;"><span style="font-size: 9pt;"><span style="font-family: verdana,geneva;"><span style="background-color: transparent;"><span style="color: #000000;"><span style="color: #000000;"></span></span></span></span></span>Hi all,<br /><br />I am trying to convert modis level 1B data (type SWATH) to geotiff following these steps.<br /><br />1) Examining the HDF<br />gdalinfo d:\modis\1b\MOD021KM.A2011008.0850.005.2011008195744.hdf<br />gdalinfo HDF4_EOS:EOS_SWATH:"d:\modis\1b\MOD021KM.A2011008.0850.005.2011008195744.hdf":MODIS_SWATH_Type_L1B:EV_1KM_RefSB<br /> 2) Extracting the 1. band of the subdataset MODIS_SWATH_Type_L1B:EV_1KM_RefSB<br />gdal_translate -of GTiff -b 1 HDF4_EOS:EOS_SWATH:"d:\modis\1b\MOD021KM.A2011008.0850.005.2011008195744.hdf":MODIS_SWATH_Type_L1B:EV_1KM_RefSB d:\modis\1b\band_1.tiff<br /> 4) Warping the image to WGS84<br />gdalwarp -t_srs EPSG:4326 d:\modis\1b\band_1.tiff d:\modis\1b\band_1_warp.tiff<br /><br />The example dataset, which i am using, can be downloaded here<br /><a href="ftp://ladsftp.nascom.nasa.gov/allData/5/MOD021KM/2011/008//MOD021KM.A2011008.0850.005.2011008195744.hdf" target="_blank">ftp://ladsftp.nascom.nasa.gov/allData/5/MOD021KM/2011/008//MOD021KM.A2011008.0850.005.2011008195744.hdf</a><br /><br />And now to my problem: I get always an certain shift (<a href="http://www.flickr.com/photos/54033867@N00/5363471425/in/photostream/" target="_blank">http://www.flickr.com/photos/54033867@N00/5363471425/in/photostream/</a>), which is avoided if i am using the "Georeference MODIS" option in ENVI (<a href="http://www.flickr.com/photos/54033867@N00/5364083966/in/photostream/" target="_blank">http://www.flickr.com/photos/54033867@N00/5364083966/in/photostream/</a>).<br /> I also tried a few workarounds, f.g. <a href="http://thread.gmane.org/gmane.comp.gis.gdal.devel/10482" target="_blank">http://thread.gmane.org/gmane.comp.gis.gdal.devel/10482</a>, but nothing worked properly.<br />As far as I understand gdal supports Modis L1B SWATH, so what I am doing wrong? Any help is appreciated.<br /><br />Regards Anna<br /><br />P.S. I am using FWTools 2.4.7 on Windows</div>
<br /><br />
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td bgcolor="#000000"><img width="1" border="0" height="1" /></td>
</tr>
<tr>
<td style="font-family: verdana; font-size: 12px; line-height: 17px;"><a href="http://WEB.DE" target="_blank">WEB.DE</a> DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt mit <br />gratis Handy-Flat! <a href="http://produkte.web.de/go/DSL_Doppel_Flatrate/2" target="_blank"><b>http://produkte.web.de/go/DSL_Doppel_Flatrate/2</b></a></td>
</tr>
</tbody>
</table>
</div>
<br />_______________________________________________<br /> gdal-dev mailing list<br /><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br /><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br /></blockquote>
</div>
<br /></blockquote>
</span></span></span></span></span> <br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="https://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">NEU: FreePhone - kostenlos mobil telefonieren und surfen!                                 <br>Jetzt informieren: <a href="http://produkte.web.de/go/webdefreephone"><b>http://produkte.web.de/go/webdefreephone</b></a></td></tr></table>
</body>