wps
wps copied to clipboard
SFMS: Guarantee Precip 24 accumulation amount is never negative
Describe the task We take the difference between 24 hours of precip and we should verify this difference is never negative.
Acceptance Criteria
- [ ] Tests to verify a Negative Difference of accumulated precip is not possible
- [ ] Resolve code to not allow Negative Difference
Additional context
- https://github.com/bcgov/wps/pull/3749#discussion_r1655512286