pytroll / pytroll-collectors

Collector modules for Pytroll
GNU General Public License v3.0
3 stars 18 forks source link

Make it possible to tell segment gatherer that all the files are local #133

Closed pnuu closed 1 year ago

pnuu commented 1 year ago

With this PR it is possible to set a configuration option (all_files_are_local = True) that tells segment gatherer all the files to be local independent of the possible transport scheme (for example scp://) or host (foo.bar.com) in the received message metadata URI.

codecov[bot] commented 1 year ago

Codecov Report

Merging #133 (a939700) into main (5b40ded) will increase coverage by 0.06%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   91.25%   91.32%   +0.06%     
==========================================
  Files          27       27              
  Lines        4015     4044      +29     
==========================================
+ Hits         3664     3693      +29     
  Misses        351      351              
Flag Coverage Δ
unittests 91.32% <100.00%> (+0.06%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pytroll_collectors/segments.py 92.50% <100.00%> (+0.18%) :arrow_up:
pytroll_collectors/tests/test_segments.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4529914940


Totals Coverage Status
Change from base Build 4469504537: 0.0%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls
pnuu commented 1 year ago

Did a live test and the scheme and host were stripped as intended.

pnuu commented 1 year ago

The new option is now also in the documentation.