Loading...
Searching...
No Matches
wind.h File Reference

Pure wind-speed conversions and unit labels, no SDK behind them. More...

Go to the source code of this file.

Enumerations

enum  WindUnit {
  WIND_UNIT_KMH = 0 , WIND_UNIT_MPH , WIND_UNIT_KTS , WIND_UNIT_MS ,
  WIND_UNIT_COUNT
}
 Which unit a wind speed reads out in. More...

Functions

int wind_from_kmh (int kmh, WindUnit unit)
 Convert a km/h wind speed into the chosen unit.
const char * wind_unit_label (WindUnit unit)
 The short label for a wind unit.

Detailed Description

Pure wind-speed conversions and unit labels, no SDK behind them.