pytroll / pytroll-pps-runner

Pytroll runner for PPS
GNU General Public License v3.0
1 stars 8 forks source link

metno nwp prepare fails when input file does not exists #45

Closed TAlonglong closed 2 years ago

TAlonglong commented 2 years ago

There was an assumption that some input file exist. If it does not some eccodes function raises and the preparation fails.

Add check to avoid this.

codecov[bot] commented 2 years ago

Codecov Report

Merging #45 (a103dc1) into main (a744cb8) will decrease coverage by 0.24%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   53.94%   53.70%   -0.25%     
==========================================
  Files          14       14              
  Lines        1774     1782       +8     
  Branches      213      238      +25     
==========================================
  Hits          957      957              
- Misses        799      807       +8     
  Partials       18       18              
Flag Coverage Δ
unittests 53.70% <0.00%> (-0.25%) :arrow_down:

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

Impacted Files Coverage Δ
nwcsafpps_runner/metno_update_nwp.py 0.00% <0.00%> (ø)

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 a744cb8...a103dc1. Read the comment docs.