-
Notifications
You must be signed in to change notification settings - Fork 77
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 bug getting local tlefiles #129
Conversation
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Codecov Report
@@ Coverage Diff @@
## main #129 +/- ##
==========================================
+ Coverage 87.51% 87.55% +0.03%
==========================================
Files 15 15
Lines 2211 2218 +7
==========================================
+ Hits 1935 1942 +7
Misses 276 276
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
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.
LGTM but tests are failing?
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Co-authored-by: David Hoese <david.hoese@ssec.wisc.edu>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
…ed for Satpy Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
… into fix-bug-local-tlefile
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.
CI should be working now. @mraspaud one last review?
looking at it now |
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, just one speed up suggestion
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
This solves a bug introduced when revising the TLES env variable recently. See #113 . There was a test for this, but it asserted the wrong thing, so test and code was wrong.
The error arise when specifying a local directory of tle-files via the
TLES
environment variable. The_get_uris_and_open_func
function wrongly returned the directory path and not the full path of the latest TLE file in that directory.flake8 pyorbital