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_
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
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 ${
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
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_