Skip to content

Code quality improvements and HWRF fix

Pre-release
Pre-release
Compare
Choose a tag to compare
@webgisdeveloper webgisdeveloper released this 18 Jan 18:13
· 12 commits to main since this release
b2d1698

Issues have been fixed

  1. 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.
  2. 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

Issue 50

  1. added several time-related functions to check and compare the current time and HWRF data release schedule.
  2. added a wrapper function to simply the call to generate MoM output.
  3. use sort by iso time string to get the latest file instead of the creation time.
  4. 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.