improved alignment of legend. fixed rain in weatherservice.
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -91,7 +91,7 @@ export class WeatherService {
|
||||
minTemperature: Math.min(...wData.map(d => d.temperature)),
|
||||
maxTemperature: Math.max(...wData.map(d => d.temperature)),
|
||||
relHumidity: wData.reduce( (r, e) => r + e.relativeHumidity, 0) / wData.length,
|
||||
precipitation: wData.reduce( (r, e) => r + e.rain, 0) * 10,
|
||||
precipitation: wData.reduce( (r, e) => r + e.rain, 0),
|
||||
wSpeed: wData.reduce( (r, e) => r + e.windSpeed, 0) / wData.length,
|
||||
wDir: bestWindDirection,
|
||||
wCardinal: bestCardinal
|
||||
|
Reference in New Issue
Block a user