ASA: Auto-generated Advisory
As a FBA
I need a basic text template that's auto-generated for SFMS forecasts whenever we kick off HFI processing
So That I have a basic text description every time that an HFI is issued
Acceptance Criteria
- [ ] TODAY: Advisory = Y OR N + auto-text
- [ ] OUTLOOK: Advisory = Y OR N (latest at the top) + auto-text
- [ ] Given there is an advisory predicted in a fire zone tomorrow, When I log in, Then an auto-generated advisory is generated that states the current status of the zone today
- [ ] Given there is an advisory for tmr, I can see it today and for tomorrow
- [ ] Given that I select a previous date, when I select it, I can review the advisory that was issued
- [ ] Given (Context), When (action carried out), Then (expected outcome)
Additional Context
- Timestamps: issued time + date AND when this is for
- Advisory Conditions for the zone IN EFFECT
- NO advisory conditions for the zone
Definition of Done https://github.com/bcgov/wps/wiki/Definition-of-Done
I'm thinking we have rolling auto-generated bulletins for forecast and outlooks as new hourly data comes in. Bulletins are 2 parts: autogenerated text, and optional user defined text. If there is no user defined text, the frontend can recreate the autogenerated text based on the requested datetime on the fly.
A forecast bulletin is defined as tomorrow's advisory that is a deterministic text description of areas and their fuel and wind speed descriptions.
An outlook bullet is defined as the days after tomorrow that is the same deterministic text description as defined above, just using data beyond tomorrow.
If we uniquely define the weather parameter data by (run datetime, forecast/outlook datetime) pairs, we can avoid storing the placeholder text and just have the frontend formulate the text when the backend responds with that requested data.
We only need to store text bulletins for user defined descriptions since we can deterministically recreate the default automated text.
Potential 'schedule' for updating FWIs and bulletins.