pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
466 stars 168 forks source link

Additions to Seed et al. weights function to prevent numeric instability #278

Closed RubenImhoff closed 2 years ago

RubenImhoff commented 2 years ago

This (short) PR prevents possible numeric instabilities when the Seed et al. (2013) weights are implemented.

codecov[bot] commented 2 years ago

Codecov Report

Merging #278 (67bbcfd) into master (464525f) will increase coverage by 0.00%. The diff coverage is 90.00%.

@@           Coverage Diff           @@
##           master     #278   +/-   ##
=======================================
  Coverage   82.32%   82.32%           
=======================================
  Files         158      158           
  Lines       12130    12138    +8     
=======================================
+ Hits         9986     9993    +7     
- Misses       2144     2145    +1     
Flag Coverage Δ
unit_tests 82.32% <90.00%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
pysteps/blending/steps.py 83.78% <90.00%> (+0.04%) :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 464525f...67bbcfd. Read the comment docs.