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.
Facing problem in L8 correction
- 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
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
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