landsat7-errors
Demonstrates errors in radiance values of Landsat 7, probably due to oversaturation, or maybe due to some data processing. When converted to reflectance, these errors pollute dataset and can't be removed anymore.
Download a Landsat 7 scene into a data/ directory and run Python script as follows to generate figures:
python landsat7_overflow_errors.py --scene-dir=data --offset=1000000 --count=2000000
After a simple fix, masking out values equal 255, but also very low values: