pyModeS.decoder.bds.bds45 module¶
-
pyModeS.decoder.bds.bds45.ic45(msg)[source]¶ Icing.
- Parameters
msg (str) – 28 hexdigits string
- Returns
Icing level. 0=NIL, 1=Light, 2=Moderate, 3=Severe
- Return type
int
-
pyModeS.decoder.bds.bds45.is45(msg)[source]¶ Check if a message is likely to be BDS code 4,5.
Meteorological hazard report
- Parameters
msg (str) – 28 hexdigits string
- Returns
True or False
- Return type
bool
-
pyModeS.decoder.bds.bds45.mb45(msg)[source]¶ Microburst.
- Parameters
msg (str) – 28 hexdigits string
- Returns
Microburst level. 0=NIL, 1=Light, 2=Moderate, 3=Severe
- Return type
int
-
pyModeS.decoder.bds.bds45.p45(msg)[source]¶ Average static pressure.
- Parameters
msg (str) – 28 hexdigits string
- Returns
static pressure in hPa
- Return type
int
-
pyModeS.decoder.bds.bds45.rh45(msg)[source]¶ Radio height.
- Parameters
msg (str) – 28 hexdigits string
- Returns
radio height in ft
- Return type
int
-
pyModeS.decoder.bds.bds45.temp45(msg)[source]¶ Static air temperature.
- Parameters
msg (str) – 28 hexdigits string
- Returns
tmeperature in Celsius degree
- Return type
float
-
pyModeS.decoder.bds.bds45.turb45(msg)[source]¶ Turbulence.
- Parameters
msg (str) – 28 hexdigits string
- Returns
Turbulence level. 0=NIL, 1=Light, 2=Moderate, 3=Severe
- Return type
int