You are right, I notice that there isn&#39;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 dir="ltr">&lt;<a href="mailto:annaauge@web.de">annaauge@web.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#ffffff" style="background-repeat: repeat; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: verdana,geneva; font-size: 9pt; padding-left: 0px;">
<div style="min-height: 200px; background-repeat: repeat; background-color: rgb(255, 255, 255); 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: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);"></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:&quot;d:\modis\1b\MOD021KM.A2011008.0850.005.2011008195744.hdf&quot;: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:&quot;d:\modis\1b\MOD021KM.A2011008.0850.005.2011008195744.hdf&quot;: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 &quot;Georeference MODIS&quot; 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 src="" alt="" border="0" height="1" width="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>