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

Fix typepigeon version to pre 2 & test failures due to USGS response change #60

Merged
merged 3 commits into from
Feb 28, 2023

Conversation

SorooshMani-NOAA
Copy link
Collaborator

Related to #59

@SorooshMani-NOAA SorooshMani-NOAA self-assigned this Feb 27, 2023
@SorooshMani-NOAA SorooshMani-NOAA changed the title Fix typepigeon version to pre 2 Fix typepigeon version to pre 2 & test failures due to USGS response change Feb 27, 2023
- Fix typepigeon version to pre 2
- Fix polygon c'tor input shell array type not being 'number'
- Fix reference for updated hwm response
- Use better criteria for testing latest storm
- Update reference for USGS flood storms test as API response is updated
- Update flood event test refrence for updated USGS response
- Update usgs flood events test reference for updated USGS response
- Coops data within empty region explicitely return empty
- 'Black' lint fix
@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #60 (725ccf9) into main (76096b8) will decrease coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   91.10%   90.89%   -0.21%     
==========================================
  Files          18       18              
  Lines        1854     1857       +3     
==========================================
- Hits         1689     1688       -1     
- Misses        165      169       +4     
Impacted Files Coverage Δ
stormevents/nhc/track.py 92.30% <ø> (ø)
tests/test_stormevent.py 97.76% <ø> (-0.75%) ⬇️
stormevents/stormevent.py 95.69% <100.00%> (-0.48%) ⬇️
tests/test_usgs.py 100.00% <100.00%> (ø)
stormevents/nhc/storms.py 78.40% <0.00%> (-2.28%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@SorooshMani-NOAA
Copy link
Collaborator Author

The coverage failure is due to different time of running tests. Sometimes there's a "realtime" storm, and sometimes the storm GIS and storm table values from NHC are different which results in hitting different parts of if conditions in different parts of the code. The change in coverage seems to be only of this kind! Tests need to be improved to avoid such an issue in the future.

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.

1 participant