Skip to content
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

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

Merged
merged 1 commit into from Dec 3, 2021

Conversation

TAlonglong
Copy link
Collaborator

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
Copy link

codecov bot commented Dec 3, 2021

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%) ⬇️

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.

@TAlonglong TAlonglong merged commit edc5064 into main Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant