pytroll / pytroll-collectors

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

Allow direct listening to host/port in geographic gatherer. #105

Closed mraspaud closed 2 years ago

mraspaud commented 2 years ago

This PR allows the user to provide a port and host for listening.

It also refactors the geographic gatherer a bit

codecov[bot] commented 2 years ago

Codecov Report

Merging #105 (9cf5182) into main (f7326f8) will increase coverage by 1.43%. The diff coverage is 92.30%.

@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   88.14%   89.58%   +1.43%     
==========================================
  Files          25       25              
  Lines        3433     3609     +176     
==========================================
+ Hits         3026     3233     +207     
+ Misses        407      376      -31     
Impacted Files Coverage Δ
pytroll_collectors/logging.py 0.00% <0.00%> (ø)
pytroll_collectors/triggers/__init__.py 66.66% <ø> (+9.52%) :arrow_up:
pytroll_collectors/triggers/_watchdog.py 58.62% <50.00%> (+18.96%) :arrow_up:
pytroll_collectors/geographic_gatherer.py 85.49% <80.51%> (-1.22%) :arrow_down:
pytroll_collectors/triggers/_base.py 79.52% <92.30%> (+4.71%) :arrow_up:
pytroll_collectors/region_collector.py 86.34% <96.00%> (+1.34%) :arrow_up:
...troll_collectors/tests/test_geographic_gatherer.py 98.04% <99.43%> (-1.96%) :arrow_down:
pytroll_collectors/tests/test_triggers.py 100.00% <100.00%> (+7.04%) :arrow_up:
pytroll_collectors/triggers/_posttroll.py 93.58% <100.00%> (+3.02%) :arrow_up:
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f7326f8...9cf5182. Read the comment docs.