Title: Display wrong wind speed
Last modified: May 10, 2023

---

# Display wrong wind speed

 *  Resolved [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * (@finnsommer)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/display-wrong-wind-speed/)
 * Hello
   I have noticed a difference in the wind speed display. OWM shows a lower
   wind speed than openweather itself.You can see the difference here [https://finnsommer.eu/owm-weather/](https://finnsommer.eu/owm-weather/)(
   Same city and same city ID)It affects the way the text is displayed by the wind
   speed.At this moment the plugin shows wind as Gentle Breeze but the openweathermap
   widget shows at  Fresh Breeze.
 * It seems like the plugin show a wind terminology that are a little lower that
   the actually weather from openweathermap.
 * Can you follow me?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Uwe Jacobs](https://wordpress.org/support/users/uwejacobs/)
 * (@uwejacobs)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16727918)
 * Thanks for pointing this out! You’re right, OWM Weather isn’t showing the same
   wind speed labels as OpenWeather since they are not part of their data. Honestly,
   I’m not sure where my current scale came from.
 * In the next version of OWM Weather, I am switching to the Beaufort Wind Scale,
   which should help getting our wind speed labels more in line with OpenWeather.
 * Appreciate your patience while we sort this out.
 *     ```wp-block-code
       function owmw_getWindspeedText($speed)
       {
           // Beaufort Wind Scale
           $windDescriptions = [
               73 => __('Hurricane', 'owm-weather'),
               64 => __('Violent Storm', 'owm-weather'),
               55 => __('Whole Gale/Storm', 'owm-weather'),
               47 => __('Strong Gale', 'owm-weather'),
               39 => __('Gale', 'owm-weather'),
               32 => __('Near Gale', 'owm-weather'),
               25 => __('Strong Breeze', 'owm-weather'),
               19 => __('Fresh Breeze', 'owm-weather'),
               13 => __('Moderate Breeze', 'owm-weather'),
               8 => __('Gentle Breeze', 'owm-weather'),
               4 => __('Light Breeze', 'owm-weather'),
               1 => __('Light Air', 'owm-weather'),
               0 => __('Calm', 'owm-weather')
           ];
   
           foreach ($windDescriptions as $windSpeed => $description) {
               if ($speed >= $windSpeed) {
                   return $description;
               }
           }
       }
       ```
   
 *  Thread Starter [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * (@finnsommer)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16727949)
 * Hi [@uwejacobs](https://wordpress.org/support/users/uwejacobs/)
 * Thank you.
   I looking foreward to get your new update of your great plugin.
 *  Plugin Author [Uwe Jacobs](https://wordpress.org/support/users/uwejacobs/)
 * (@uwejacobs)
 * [3 years ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16780983)
 * I just committed OWM Weather 5.6.15.
 *  Thread Starter [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * (@finnsommer)
 * [3 years ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16781267)
 * Thanks [@uwejacobs](https://wordpress.org/support/users/uwejacobs/)
 * Sofare it’s looks good.
 *  Thread Starter [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * (@finnsommer)
 * [3 years ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16781976)
 * [@uwejacobs](https://wordpress.org/support/users/uwejacobs/)
 * I was too fast writing it was good.
   Now the wind has change and the plugin still
   show the wrong text of wind speed.
 * Please see the difference: [https://finnsommer.eu/owm-weather/](https://finnsommer.eu/owm-weather/)
   (
   Moderate breeze bs. Light breeze)
    -  This reply was modified 3 years ago by [FinnSommer](https://wordpress.org/support/users/finnsommer/).
 *  Plugin Author [Uwe Jacobs](https://wordpress.org/support/users/uwejacobs/)
 * (@uwejacobs)
 * [3 years ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16782742)
 * The wind speed wasn’t converted to mi/h before applying the Beaufort Wind Scale.
   This should be corrected with 5.6.16.
 *  Thread Starter [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * (@finnsommer)
 * [3 years ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16783299)
 * [@uwejacobs](https://wordpress.org/support/users/uwejacobs/) 
   Thank you.It works
   correct now with the 5.6.16 update.
    -  This reply was modified 3 years ago by [FinnSommer](https://wordpress.org/support/users/finnsommer/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Display wrong wind speed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/owm-weather_3a88fe.svg)
 * [OWM Weather](https://wordpress.org/plugins/owm-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/owm-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/owm-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/owm-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/owm-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/owm-weather/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/display-wrong-wind-speed/#post-16783299)
 * Status: resolved