Code quality improvements and HWRF fix
Pre-release
Pre-release
·
12 commits
to main
since this release
Issues have been fixed
- Generate HWRF output when there is no HWRF data release: Issue 41
It compares the current time to HWRF release schedule, and generates the outputs in the similar 6-hours interval. - Fix the performance issue when generating MoM final output. Issue 55
The "final_alert_pdc" function is totally rewritten, and it takes seconds to generate the final output instead of minutes.
Improvements
- added several time-related functions to check and compare the current time and HWRF data release schedule.
- added a wrapper function to simply the call to generate MoM output.
- use sort by iso time string to get the latest file instead of the creation time.
- formatted the code with Black Code Formatter
How to update
"git pull" is enough
How to test
Check the final outputs when there is no HWRF data release, the final outputs shall be generated at least three times per day.