Add raw SPC convective outlook source

This commit is contained in:
2026-06-11 00:15:40 +00:00
parent 42c646c328
commit cefd4dfc7c
5 changed files with 786 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ import (
"gitea.maximumdirect.net/ejr/weatherfeeder/internal/sources/nws"
"gitea.maximumdirect.net/ejr/weatherfeeder/internal/sources/openmeteo"
"gitea.maximumdirect.net/ejr/weatherfeeder/internal/sources/openweather"
"gitea.maximumdirect.net/ejr/weatherfeeder/internal/sources/spc"
"gitea.maximumdirect.net/ejr/feedkit/config"
fksource "gitea.maximumdirect.net/ejr/feedkit/sources"
@@ -28,6 +29,9 @@ var pollDriverRegistrations = []pollDriverRegistration{
{driver: "openweather_observation", factory: func(cfg config.SourceConfig) (fksource.PollSource, error) {
return openweather.NewObservationSource(cfg)
}},
{driver: "spc_convective_outlook", factory: func(cfg config.SourceConfig) (fksource.PollSource, error) {
return spc.NewConvectiveOutlookSource(cfg)
}},
}
// RegisterBuiltins registers the source drivers that ship with this binary.