change wind speed to factor 3.6 for hourly

This commit is contained in:
Marko Oldenburg 2019-01-14 05:53:43 +01:00
parent 957adf8454
commit fafab9e93c

View File

@ -530,9 +530,9 @@ sub _ProcessingRetrieveData($$) {
'wind_direction' =>
$data->{hourly}->{data}->[$i]->{windBearing},
'wind' => sprintf( "%.1f",
$data->{hourly}->{data}->[$i]->{windSpeed} ),
($data->{hourly}->{data}->[$i]->{windSpeed} * 3.6) ),
'wind_speed' => sprintf( "%.1f",
$data->{hourly}->{data}->[$i]->{windSpeed} ),
($data->{hourly}->{data}->[$i]->{windSpeed} * 3.6) ),
'windGust' => sprintf( "%.1f",
$data->{hourly}->{data}->[$i]->{windGust} ),
'precipProbability' =>