<br><br><div class="gmail_quote">2009/9/3 Tveraa, Torkild <span dir="ltr">&lt;<a href="mailto:Torkild.Tveraa@nina.no">Torkild.Tveraa@nina.no</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I am trying to use gdal and r.in.gdal to read MODIS/HDF4 following the instructions at <a href="http://grass.osgeo.org/wiki/MODIS" target="_blank">http://grass.osgeo.org/wiki/MODIS</a> but I am obviously doing something wrong ☺<br>

<br>
gdal_translate HDF4_EOS:EOS_GRID:&quot;MOD13Q1.A2006129.h18v01.005.2008321145449.hdf&quot;:MODIS_Grid_16DAY_250m_500m_VI slett.tif<br><br>
</blockquote></div>You want to convert from an HDF file to GeoTIFF. You need to provide the full dataset name, and if you are in linux bash, you need to escape the whole thing together. For your QK EVI data, the command looks like this:<br>
<br>gdal_translate -of GTiff  &#39;HDF4_EOS:EOS_GRID:&quot;MOD13Q1.A2006129.h18v01.005.2008321145449.hdf&quot;:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days EVI&#39; output.tif<br><br>Note the single quotes and the full HDF dataset name (with annoying spaces in between, yes, I know... :-D)<br>
<br>J<br>