[Gdal-dev] Landsat 7 data
Horst Reinecke
hreinec at gwdg.de
Wed Mar 12 11:04:26 EST 2003
Am Mittwoch, 12. März 2003 16:12 schrieben Sie:
> 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:
>
> #!/bin/sh
>
> for oldfilename in *
> do
> newfilename=`echo $oldfilename | tr [:lower:] [:upper:]`
> if [ ! $oldfilename == $newfilename ]; then
> mv $oldfilename $newfilename
> echo $oldfilename $newfilename
> fi
> done
>
> > Have I to configure my gdal?
>
> There is nothing to configure with except to enable debugging output and
> increase the cache size.
Andrey,
it works! Thank you so much.
Horst
More information about the Gdal-dev
mailing list