Add link for information about Beaufort Wind Scale for ms2Beaufort

function in currentweather and weatherforecast module
This commit is contained in:
Rodrigo Ramírez Norambuena 2017-03-26 16:31:57 -03:00
parent 9285da6c12
commit f4408aa72c
2 changed files with 8 additions and 0 deletions

View File

@ -386,6 +386,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.