2026-03-20 09:44:53 -05:00
|
|
|
// current_conditions.go defines the current-conditions aggregate model.
|
|
|
|
|
// Layer: internal/app domain-adjacent read model.
|
|
|
|
|
package app
|
2026-03-19 23:16:26 -05:00
|
|
|
|
|
|
|
|
import "gitea.maximumdirect.net/ejr/weatherfeeder/model"
|
|
|
|
|
|
|
|
|
|
// CurrentConditions is an averaged current-conditions aggregate over a recent window.
|
|
|
|
|
type CurrentConditions struct {
|
|
|
|
|
TemperatureC *float64
|
|
|
|
|
ApparentTemperatureC *float64
|
|
|
|
|
DewpointC *float64
|
|
|
|
|
RelativeHumidityPercent *float64
|
|
|
|
|
WindSpeedKmh *float64
|
|
|
|
|
WindDirectionDegrees *float64
|
|
|
|
|
ConditionCode model.WMOCode
|
|
|
|
|
IsDay *bool
|
|
|
|
|
}
|