Facing problem in L8 correction

Post Reply
majed07
Posts: 2
Joined: Thu Apr 27, 2023 6:01 pm
company / institution: University of Galway
Location: Ireland

Facing problem in L8 correction

Post by majed07 »

Hi,

I am facing problem in generating L8 correction in Linux Mageia.

First, I have followed the following code to generate angles.

command line
cd /home/majed/polymer

wget https://landsat.usgs.gov/sites/default/ ... _2_7_0.tgz
tar xzf L8_ANGLES_2_7_0.tgz
rm -fv L8_ANGLES_2_7_0.tgz
cd l8_angles
make
./l8_angles /home/majed/L8/LC08_L1TP_207024_20220314_20220322_02_T1/LC08_L1TP_207024_20220314_20220322_02_T1_ANG.txt BOTH 1 -b 1

The code generate 4 files “sensor_B01”,“solar_B01”. Later i copied 4 files to my LANDSAT8 directory (home/majed/L8/LC08_L1TP_207024_20220314_20220322_02_T1), then run python by using following code. However it still showing unable to detect sensors.

command line
python3 polymer_cli.py home/majed/l8/LC08_L1TP_207024_20220314_20220322_02_T1 out.nc

Please help.

Many thanks.
User avatar
fsteinmetz
Site Admin
Posts: 314
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: Facing problem in L8 correction

Post by fsteinmetz »

Hello,
Here the issue is not related to the use of the angle files, but to the file autodetection of landsat products in polymer_cli.py.
I have added a fix on github, hopefully it fixes this issue.
Cheers, François
Post Reply