.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
float | from_si (cls, value) |
float | to_si (cls, value) |
Static Public Attributes | |
list | scale |
The mapping of the Beaufort_ contains values from 0 to 16 (55.6 m/s), wind speeds greater than 200km/h (55.6 m/s) are given as 17 Bft. Thats why a value of 17 Bft cannot be converted to SI. .. hint:: Negative values or values greater 16 Bft (55.6 m/s) will throw a :py:obj:`ValueError`. _Beaufort: https://en.wikipedia.org/wiki/Beaufort_scale
Definition at line 18 of file wikidata_units.py.
float searx.wikidata_units.Beaufort.from_si | ( | cls, | |
value ) |
Definition at line 41 of file wikidata_units.py.
References scale.
float searx.wikidata_units.Beaufort.to_si | ( | cls, | |
value ) |
Definition at line 51 of file wikidata_units.py.
References scale.
|
static |
Definition at line 32 of file wikidata_units.py.