pytroll / trollflow2

Next generation Trollflow. Trollflow is for batch-processing satellite data using Satpy
https://trollflow2.readthedocs.org/
GNU General Public License v3.0
10 stars 15 forks source link

Do not crash when computing coverage of a dynamic area def #152

Closed mraspaud closed 2 years ago

mraspaud commented 2 years ago

Computing the coverage of a dynamic area def does not work at the moment since the bbox can not be computed (understandably). This fix gives a coverage of 100% for these types of areas.

codecov[bot] commented 2 years ago

Codecov Report

Merging #152 (265df39) into main (9cb4afb) will decrease coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
- Coverage   95.61%   95.57%   -0.05%     
==========================================
  Files          11       11              
  Lines        2394     2417      +23     
==========================================
+ Hits         2289     2310      +21     
- Misses        105      107       +2     
Flag Coverage Δ
unittests 95.57% <100.00%> (-0.05%) :arrow_down:

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

Impacted Files Coverage Δ
trollflow2/plugins/__init__.py 92.88% <100.00%> (-0.36%) :arrow_down:
trollflow2/tests/test_trollflow2.py 99.49% <100.00%> (+0.01%) :arrow_up:

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 9cb4afb...265df39. Read the comment docs.