Moved the weatherfeeder model out of internal/ so that downstream consumers can import it directly.
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful

This commit is contained in:
2026-02-08 08:56:16 -06:00
parent c96a6bb78b
commit 5923592b53
17 changed files with 13 additions and 13 deletions

15
model/wmo.go Normal file
View File

@@ -0,0 +1,15 @@
package model
// WMOCode is the canonical internal “current conditions” vocabulary.
//
// We standardize on the WMO weather interpretation codes used by providers like
// Open-Meteo, and we map other providers (e.g., NWS) into these codes.
//
// Reference codes include: 0,1,2,3,45,48,51,53,...,99.
type WMOCode int
const (
// WMOUnknown is used when we cannot confidently map an upstream condition
// into a known WMO code.
WMOUnknown WMOCode = -1
)