Re: [gdal-dev] again .hdf to .tif

2009-03-26 Thread Yann Chemin
Yes Vincent, that rings a bell indeed. Thanks, Yann 2009/3/26 Vincent Schut : > Yann Chemin wrote: >> >> Hi there, >> >> I am using this one right now on Level 2 and 3 MODIS products >> >> --- >> #!/bin/bash >> mkdir processed >> for file in *.hdf >> do SDS_

[gdal-dev] again .hdf to .tif

2009-03-26 Thread Anja Roesel
Hi list, I am trying to convert MODIS .hdf files to .tif files (it worked with ASTER files earlier, thats why I am now really curious). i typed >gdalinfo MOD021KM.A2008134.1935.005.2009071201911.hdf result: .. SUBDATASET_1_NAME=HDF4_EOS:EOS_SWATH:"MOD021KM.A2008134.1935.005.2009071201911.hd

Re: [gdal-dev] again .hdf to .tif

2009-03-26 Thread Vincent Schut
Yann Chemin wrote: Hi there, I am using this one right now on Level 2 and 3 MODIS products --- #!/bin/bash mkdir processed for file in *.hdf do SDS_list=$(gdalinfo $file | grep "SUBDATASET_.*_NAME.*") for subdataset in $SDS_list do echo ${

Re: [gdal-dev] again .hdf to .tif

2009-03-26 Thread Yann Chemin
Hi there, I am using this one right now on Level 2 and 3 MODIS products --- #!/bin/bash mkdir processed for file in *.hdf do SDS_list=$(gdalinfo $file | grep "SUBDATASET_.*_NAME.*") for subdataset in $SDS_list do echo ${subdataset#*=} > temp

[gdal-dev] again .hdf to .tif

2009-03-26 Thread Anja Roesel
sorry i forgot to mention the error message: >Segmentation fault Hi list, I am trying to convert MODIS .hdf files to .tif files (it worked with ASTER files earlier, thats why I am now really curious). i typed >gdalinfo MOD021KM.A2008134.1935.005.2009071201911.hdf result: .. SUBDATASET_