Merge pull request #897 from roramirez/information-Beaufort-function

Add link for information about Beaufort Wind Scale for ms2Beaufort
This commit is contained in:
Michael Teeuw 2017-05-26 14:40:47 +02:00 committed by GitHub
commit 3c82dfc0a5
2 changed files with 8 additions and 0 deletions

View File

@ -412,6 +412,10 @@ Module.register("currentweather",{
/* ms2Beaufort(ms)
* Converts m2 to beaufort (windspeed).
*
* see:
* http://www.spc.noaa.gov/faq/tornado/beaufort.html
* https://en.wikipedia.org/wiki/Beaufort_scale#Modern_scale
*
* argument ms number - Windspeed in m/s.
*
* return number - Windspeed in beaufort.

View File

@ -335,6 +335,10 @@ Module.register("weatherforecast",{
/* ms2Beaufort(ms)
* Converts m2 to beaufort (windspeed).
*
* see:
* http://www.spc.noaa.gov/faq/tornado/beaufort.html
* https://en.wikipedia.org/wiki/Beaufort_scale#Modern_scale
*
* argument ms number - Windspeed in m/s.
*
* return number - Windspeed in beaufort.