Skip to content
Snippets Groups Projects
Commit 4fabf5bc authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Merge branch 'bugfix/fix_disabled_deadpix' into 'master'

Bugfix / fix improperly disabled deadpixel correction

Closes #100

See merge request !81
parents ce69280f 4a899c11
No related branches found
No related tags found
1 merge request!81Bugfix / fix improperly disabled deadpixel correction
Pipeline #58388 passed
......@@ -2,11 +2,13 @@
History
=======
0.19.1 (2023-02-28)
0.19.1 (2023-03-01)
-------------------
* !79: ACwater is installed from pip as long as it is not yet packaged within the EnPT conda-forge builds.
* !80: Fixed #99 (Unexpected progress bar within co-registration).
* !81: Fixed #100 (`run_deadpix_P=False` does not disable second run of dead pixel correction after AC).
0.19.0 (2023-02-17)
-------------------
......
......@@ -183,10 +183,11 @@ class EnPT_Controller(object):
if self.cfg.enable_ac:
self.run_atmospheric_correction()
# re-apply dead pixel correction
self.L1_obj.logger.info(
'Re-applying dead pixel correction to correct for spectral spikes due to fringe effect.')
self.L1_obj.correct_dead_pixels()
if self.cfg.run_deadpix_P:
# re-apply dead pixel correction
self.L1_obj.logger.info(
'Re-applying dead pixel correction to correct for spectral spikes due to fringe effect.')
self.L1_obj.correct_dead_pixels()
else:
self.L1_obj.logger.info('Skipping atmospheric correction as configured and '
'computing top-of-atmosphere reflectance instead.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment