-
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
Fix for compatibility with ADCIRC GAHM #76
Conversation
…visory.BEST advisory type, to make sure it is compatible with ADCIRC aswip/GAHM functionality
…ST. Adding to test output and updating the reference file with the non-zero entries.
@SorooshMani-NOAA Don't understand why tests failing on this too. deleted all output files before running them on my end and all tests passed. |
@WPringle let me test on my side as well and see what I get. Update and
|
@WPringle we can either take care of these |
Thanks for finding the problem. Maybe let's make the separate branch and fix these |
OK, let me create a new branch on my machine and try to address it |
@WPringle I noticed another part of the issue is actually the fact that right now the "realtime" (current year) list of storms returns empty and at least on of the tests fail due to that! I will try to find a better test for its replacement in the same branch that I'm fixing pandas dependency |
@WPringle is this pull request still relevant? I think I missed merging it before. In any case it runs into the same issue as I had with those two tests failing out of no where! I found out if I keep repeating (rerunning) the test enough they succeed! Please let me know if this should be merged or is no longer relevant. Thanks |
@SorooshMani-NOAA We still need the fort.22 to fill in |
Codecov Report
@@ Coverage Diff @@
## main #76 +/- ##
==========================================
+ Coverage 91.18% 91.33% +0.14%
==========================================
Files 18 18
Lines 1872 1927 +55
==========================================
+ Hits 1707 1760 +53
- Misses 165 167 +2
|
The ADCIRC GAHM model and the
aswip
pre-processor tool requires theforecast_hours
to be non-zero in thefort.22
even for a best-track event (i.e., it doesn't read the datetime entries).Added functionality to output the non-zero forecast hours when the
VortexTrack.to_file()
function is used with.22
filename suffix andadvisory="BEST"
oradvisory=ATCF_Advisory.BEST
is called, e.g.,This function call is added to one of the tests for writing Florence to file. The corresponding reference file has been updated with the non-zero forecast hour entries.