-
Notifications
You must be signed in to change notification settings - Fork 8
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
from_nhc_code
bug for same-year events with the same name
#78
Comments
from_nhc_code
might run into issuefrom_nhc_code
bug for same-year events with the same name
We need to re-enable the test for StormEvents/tests/test_stormevent.py Lines 216 to 233 in 02d6c6a
This issue started showing up in April 2023 during #79 for Hurricane |
Ah, that's a blunder 😅 I forgot to account for two storms with the same name in the same year in different basins |
Try:
Now if you inspect the storm, it's actually picking
Julia
fromAL
basin! That's because of search-by-name done in the constructor and then picking the "first" occurrence of the name in the list:StormEvents/stormevents/stormevent.py
Lines 76 to 79 in 9cb5d77
Looking at the storms list from 2022:
The text was updated successfully, but these errors were encountered: