Added circular average logic to wind direction, and removed condition code from the current conditions endpoint
Some checks failed
ci/woodpecker/push/build-image Pipeline failed

This commit is contained in:
2026-03-17 19:25:31 -05:00
parent d293c40765
commit 8711fc457c
2 changed files with 14 additions and 2 deletions

View File

@@ -56,7 +56,6 @@ func (s *Service) GetCurrent(ctx context.Context, unitSystem string) (Response,
resp := Response{
RelativeHumidity: summary.RelativeHumidity,
WindDirectionDegrees: summary.WindDirectionDegrees,
ConditionCode: summary.ConditionCode,
IsDay: summary.IsDay,
}
if summary.ConditionCode != nil {