Open NicolasLivanos opened 4 months ago
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.
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
Additional Context
Definition of Done https://github.com/bcgov/wps/wiki/Definition-of-Done