ACOLITE 20210802.0 Glint Correction - IndexError: index 1 is out of bounds for axis 0 with size 1

Technical questions about ACOLITE
Post Reply
quinten
Posts: 1021
Joined: Tue Mar 03, 2015 8:13 am

ACOLITE 20210802.0 Glint Correction - IndexError: index 1 is out of bounds for axis 0 with size 1

Post by quinten »

If you are processing imagery using ACOLITE 20210802.0 with fixed geometry (e.g. Collection 1 Landsat data) and dsf_aot_estimate=fixed, the default dsf_residual_glint_correction=True may fail with the error:
Starting glint correction
Traceback (most recent call last):
File "launch_acolite.py", line 71, in <module>
File "launch_acolite.py", line 65, in launch_acolite
File "acolite/acolite/acolite_run.py", line 118, in acolite_run
File "acolite/acolite/acolite_l2r.py", line 1135, in acolite_l2r
IndexError: index 1 is out of bounds for axis 0 with size 1
This will be fixed in the next release. In the meantime you can use dsf_residual_glint_correction_method=alternative in these cases!

Quinten
Post Reply