bcgov / bcgov/wps

OLD MoreCast: Display error messages on observations from WFWX API

Open
#1,075 0 comments 0 reactions 0 assignees View on GitHub
Decision User Story
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**As a** *Forecaster* **I want** *to be able to see error messages from the WFWX API in Morecast* **So That** *I can better make sense of what's going on when data is missing or questionable.*

**Additional Context**
- Observations from WFWX API have an `observation_valid` Boolean flag. If the flag is set to False, it means that some error has been detected by WFWX while validating the data. In this case, the `observation_valid_comment` field will explain the validation error(s) detected. If more than 1 error has been detected on a single observation, all error messages will be appended in the `observation_valid_comment`.
- Forecasters want to be able to see these error messages from WFWX API when viewing data in Morecast - will need to consult with UX to determine how these messages should be displayed.
- Forecasters have indicated that they're not interested in error messages related to barometric pressure.

**Acceptance Criteria**
- [ ] Given (Context), When (action carried out), Then (expected outcome)
- [ ] Given (Context), When (action carried out), Then (expected outcome)

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing how Morecast receives and displays observations from the WFWX API, then consult UX on how validation messages should appear and whether barometric-pressure errors should be excluded. Done means relevant validation comments are visible to forecasters when observations are invalid, with acceptance criteria defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python, react
Domain
api, backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.