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 12: Line 12:
 
* '''ft''' converts meters to feet.
 
* '''ft''' converts meters to feet.
 
* '''endir''' converts a wind direction into one of 16 English direction texts.
 
* '''endir''' converts a wind direction into one of 16 English direction texts.
 +
* '''nldir''' converts a wind direction into one of 16 Netherland 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.
 
If an unknown conversion string is used, no conversion will take place, no error message will appear.

Revision as of 18:47, 4 June 2015

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 Netherland 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.