pytroll / pytroll-aapp-runner

Pytroll runner for AAPP
http://pytroll-aapp-runner.readthedocs.io/en/develop/
GNU General Public License v3.0
1 stars 8 forks source link

Bugfix mhs calibration #26

Closed adybbroe closed 2 years ago

adybbroe commented 2 years ago

Signed-off-by: Adam.Dybbroe a000680@c21856.ad.smhi.se

adybbroe commented 2 years ago

I realise the changes here are awfully difficult to review, due to some refactoring. I went through it myself now, to recall. I should have left the refactor in another PR. Sorry.

But the actual line that was added and that fixed it at SMHI was this one: + not process_config['process_mhs'] and In do_atovs_calibration - line 40 in aapp_runner/do_atovs_calibration.py I didn't actually touch much else. I moved some of the code in if-else-clause in the long function generate_process_config into two separate functions. But didn't change behaviour here (as far as I can see and remember). It works at SMHI - system testing...