Skip to content

Commit

Permalink
Update Decoder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 authored Feb 26, 2024
1 parent 8dd4652 commit 716c0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/scripts/acars_decode/Decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
compile(r"([NS])[ 0]?([ 0\d]\d)(\d{3}).?([WE])([ 0\d][ 0\d]\d)(\d{3})"),
compile(r"[0 ]{0,1}(\d{1,2})[0 ]{0,1}(\d{1,2}\.\d{1})([NS])[ 0]{0,2}(\d{1,3})[0 ]{0,1}(\d{1,2}\.\d{1})([WE])"),
compile(r"[ 0]{0,1}(\d{1,2})[ 0]{0,1}(\d{1,2})([NS])[ 0]{0,2}(\d{1,3})[ 0]{0,1}(\d{1,2})([WE])"),
compile(r"LAT ([NS]) [0 ]{0,1}(\d{1,2}):(\d{2}\.\d{1}) LONG [WE] [0 ]{0,1}(\d{1,2}):(\d{2}\.\d{1})")]
compile(r"LAT ([NS]) [0 ]{0,1}(\d{1,2}):(\d{2}\.\d{1}) LONG ([WE]) [0 ]{0,1}(\d{1,2}):(\d{2}\.\d{1})")]

def decode(msg):
if msg.get("vdl2"):
Expand Down

0 comments on commit 716c0d4

Please sign in to comment.