bcgov / bcgov/wps

Dev: Dedup WeatherStation Models

Open
#4,423 0 comments 0 reactions 0 assignees View on GitHub
4Refinement Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Describe the task**
There are similar/same `WeatherStation` model definitions in:
`wps_shared/schemas/hfi_calc.py` and `wps_shared/schemas/stations.py`

**Acceptance Criteria**
- [ ] Merge and use a single definition of `WeatherStation` for these two definitions

**Additional context**
- Add any other context about the task here.
- Or here

Contributor guide

Open the contributing guide

Research direction

Compare the WeatherStation definitions in wps_shared/schemas/hfi_calc.py and wps_shared/schemas/stations.py, then trace their uses to determine which definition should be shared. Done means both locations use one WeatherStation definition and the existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.