New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix BackgroundCompositor not retaining input metadata #917
Conversation
Thanks for the info. #902 seems not to be fixed by your modification, here my output:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Unfortunately can't test within the couple next days.
Should've first checked the test results, but the fix seems to be pretty trivial :-) |
@peters77 If you try this branch again it should fix your issue. |
Codecov Report
@@ Coverage Diff @@
## master #917 +/- ##
==========================================
- Coverage 85.36% 85.35% -0.02%
==========================================
Files 174 174
Lines 26023 26037 +14
==========================================
+ Hits 22215 22223 +8
- Misses 3808 3814 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for taking the time to sort things out!
While working on #854 I noticed that sensor information wasn't being handled the way I wanted by the BackgroundCompositor. I then discovered that none of the metadata is being handled. This PR attempts to fix that and cleans up a few other things that flake8/pre-commit were complaining about.
This includes removing the use of some deprecated functions.
This might fix #902 (FYI @peters77)
flake8 satpy