2009/9/3 Tveraa, Torkild <[email protected]>

> Hi all,
>
> I am trying to use gdal and r.in.gdal to read MODIS/HDF4 following the
> instructions at http://grass.osgeo.org/wiki/MODIS but I am obviously doing
> something wrong ☺
>
> gdal_translate
> HDF4_EOS:EOS_GRID:"MOD13Q1.A2006129.h18v01.005.2008321145449.hdf":MODIS_Grid_16DAY_250m_500m_VI
> slett.tif
>
> 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:

gdal_translate -of GTiff
'HDF4_EOS:EOS_GRID:"MOD13Q1.A2006129.h18v01.005.2008321145449.hdf":MODIS_Grid_16DAY_250m_500m_VI:250m
16 days EVI' output.tif

Note the single quotes and the full HDF dataset name (with annoying spaces
in between, yes, I know... :-D)

J
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to