Thank you for developing and sharing acolite, it's such a great tool !
I think I've noticed an unwanted behaviour when trying to process an image without masking.
I added "l2w_mask=False" in my settings, and I get the following error message:
Code: Select all
File "/home/earthlab/thibaut/acolite/acolite/acolite/acolite/acolite_l2w.py", line 1128, in acolite_l2w
if l2_flags is not None:
UnboundLocalError: local variable 'l2_flags' referenced before assignment
Was it actually a bug or did I get something wrong? If you have a proper fix it would be be welcome!
Thanks in advance,
Thibaut