Dev: Dedup WeatherStation Models
Open
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
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