[Gdal-dev] Landsat 7 data

Andrey Kiselev dron at ak4719.spb.edu
Wed Mar 12 10:12:02 EST 2003

On Wed, Mar 12, 2003 at 03:56:05PM +0100, Horst Reinecke wrote:
> > You have normal FAST L7 dataset. Your headers are work for me. Could you
> > show output of `ls' command in the directory where the dataset is?
> 'ls' shows:
> index.txt					l71169072_07220001009_hpn.fst
> l71169072_07220001009_b10.fst		l71169072_07220001009_hrf.fst
> l71169072_07220001009_b20.fst		l71169072_07220001009_htm.fst
> l71169072_07220001009_b30.fst		l71169072_07220001009_b62.fst	
> l71169072_07220001009_b40.fst		l71169072_07220001009_b70.fst
> l71169072_07220001009_b50.fst		l71169072_07220001009_b80.fst	
> l71169072_07220001009_b61.fst		readme.ff7

Huh! it is clear now. You have files named in low case. Note, that FAST
headers contain _exact_ band filenames and you should have raw files with
the same names as in header. Rename them with something like:

for oldfilename in *
        newfilename=`echo $oldfilename | tr [:lower:] [:upper:]`                
        if [ ! $oldfilename == $newfilename ]; then                             
            mv $oldfilename $newfilename                                        
            echo $oldfilename $newfilename                                      

> Have I to configure my gdal?

There is nothing to configure with except to enable debugging output and
increase the cache size.

Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517

More information about the Gdal-dev mailing list