From 7e966090ab04d4b076ac365c71bbd4766458d4ce Mon Sep 17 00:00:00 2001 From: Junzi Sun Date: Thu, 24 Sep 2020 22:13:13 +0200 Subject: [PATCH] update meteorological reports decoding example --- README.rst | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4731b59..fb2d3d6 100644 --- a/README.rst +++ b/README.rst @@ -261,8 +261,20 @@ Mode-S Enhanced Surveillance (EHS) pms.commb.vr60ins(msg) # Inertial vertical speed (ft/min) -Meteorological routine air report (MRAR) [Experimental] -******************************************************** +Meteorological reports [Experimental] +************************************** + +To infer the BDS 4,4 and BDS 4,5 codes, you must set `mrar` argumetn to true in the inference function: + +.. code:: python + + pms.bds.infer(msg. mrar=True) + +Once the correct MRAR or MHR messages are identified, use the following decoding functions. + + +Meteorological routine air report (MRAR) ++++++++++++++++++++++++++++++++++++++++++ .. code:: python @@ -273,8 +285,8 @@ Meteorological routine air report (MRAR) [Experimental] pms.commb.hum44(msg) # Humidity (%) -Meteorological hazard air report (MHR) [Experimental] -******************************************************* +Meteorological hazard air report (MHR) ++++++++++++++++++++++++++++++++++++++++++ .. code:: python