weatherfeeder: split the former maximumdirect.net/weatherd project in two.

feedkit now contains a reusable core, while weatherfeeder is a concrete implementation that includes weather-specific functions.
This commit is contained in:
2026-01-13 18:14:21 -06:00
parent 1e05b38347
commit aa4774e0dd
21 changed files with 2432 additions and 1 deletions

15
internal/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
)