Add a unit test for the CO2 corrector#3371
Conversation
Mode tests for modifiers in modifiers/atmosphere.py to their own test module in tests/modifier_tests/test_atmosphere.py.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3371 +/- ##
=======================================
Coverage 96.35% 96.35%
=======================================
Files 466 467 +1
Lines 59083 59106 +23
=======================================
+ Hits 56931 56954 +23
Misses 2152 2152
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
CodeScene is complaining about code that I moved but did not otherwise touch. An attempt to suppress the finding still fails with "Error occurred while suppressing! Please try again." I don't know if the suppression has ever worked (for me it never has). |
|
Maybe I'm misunderstanding, but we don't want to suppress what CodeScene is finding since it is an actual problem. We just won't let it stop this PR from being merged as it isn't a new issue you are adding. |
Add a unit test for
satpy.modifiers.atmosphere.CO2Corrector.Also move other atmospheric modifier unit tests to their own test module.