Difference between revisions of ":Templates/6/en"

From meteobridge
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
Line 14: Line 14:
 
* '''nldir''' converts a wind direction into one of 16 Dutch direction texts.
 
* '''nldir''' converts a wind direction into one of 16 Dutch direction texts.
 
* '''dedir''' converts a wind direction into one of 16 German direction texts.
 
* '''dedir''' converts a wind direction into one of 16 German direction texts.
If an unknown conversion string is used, no conversion will take place, no error message will appear.
+
* '''barotrend''' converts a delta measurement (selector '''delta''') into a barometer trend analysis pattern (1 hPa is about 0.03 inHg):
 +
** '''-2''': delta <= -2 hPa
 +
** '''-1''': -2 hPa < delta <= -1 hPa
 +
** ''' 0''': -1 hPa < delta < +1 hPa
 +
** '''+1''': +1 hPa <= delta < +2 hPa
 +
** '''+2''': +2 hPa <= delta
 +
* '''enbarotrend''' reports trend as strings '''FF''', '''FS''', '''ST''', '''RS''', '''RF'''

Revision as of 15:56, 7 May 2016

Converters

Sensor data is reported in ISO units (°C, hPa, mm, m/s) by default, but can be converted into non-ISO units (imperial) by adding a conversion token. Defined tokens are:

  • F converts temperature from Celsius to Fahrenheit.
  • psi converts pressure from hPa (equivalent to mbar) to psi.
  • mmHg converts pressure from hPa to millimeters of mercury.
  • inHg converts pressure from hPa to inches of mercury.
  • kmh converts wind speed from meters per second to kilometers per hour.
  • mph converts wind speed from meters per second to miles per hour.
  • kn converts wind speed from meters per second to knots.
  • bft converts wind speed from meters per second to Beaufort scale.
  • in converts millimeters to inches.
  • ft converts meters to feet.
  • endir converts a wind direction into one of 16 English direction texts.
  • nldir converts a wind direction into one of 16 Dutch direction texts.
  • dedir converts a wind direction into one of 16 German direction texts.
  • barotrend converts a delta measurement (selector delta) into a barometer trend analysis pattern (1 hPa is about 0.03 inHg):
    • -2: delta <= -2 hPa
    • -1: -2 hPa < delta <= -1 hPa
    • 0: -1 hPa < delta < +1 hPa
    • +1: +1 hPa <= delta < +2 hPa
    • +2: +2 hPa <= delta
  • enbarotrend reports trend as strings FF, FS, ST, RS, RF