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
Some checks failed
ci/woodpecker/push/build-image Pipeline failed
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user