-
Notifications
You must be signed in to change notification settings - Fork 0
/
aprs_parser_test.py
49 lines (46 loc) · 7.15 KB
/
aprs_parser_test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
text = """:ED3YAW-15:EQNS.0,10.2,0,0,10.2,0,0,0.5,-65,0,0,0,0,0,0:ED3YAW-15:BITS.11111111,Telemetry VOLT +TEMP:ED3YAW-15:EQNS.0,10.2,0,0,10.2,0,0,0.5,-65,0,0,0,0,0,0:ED3YAW-15:UNIT.V-DC,V-DC,GRADOS,None,None,On,On,On,On,Hi,Hi,Hi,Hi!4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED/170855h4150.80N/00308.13EY125/000/A=000019/Ti=21/Te=75/V=7633 EA3FLN proves Home made Tracker!4345.48N\00451.09E#PHG2034/DIGI APRS ADREF13 La CAUME (1)!3847.27N/00009.77EIPHG5260 145.425MHz Radio Club Amanecer>251016z73 qro Gerard
_02121808c214s007g011t030r000p000P000h91b10014tU2k;ED3YAG *242346z4150.20N/00132.24EmR-6 145.750 MHz. 930 m. JN01SU 123,0
;ED3YAL *242341z4150.70N/00150.07EmR-5 145.725 MHz. 608 m. JN01WU
;ED3YAM *242347z4149.10N/00211.50EmR-75 438.775 MHz. 997 m. JN11CT 88,5
;ED3YAJ *242347z4146.57N/00226.12EmR-0 145.600 MHz. 1.712 m. JN11FS
;ED3YAN *242345z4125.38N/00207.15EmR-89 439.125 MHz. 512 m. JN11BK
;ED3YAK *091529z4121.90N/00209.77EmR-2 145.650 MHz. 150 m. DStar JN11BI
;ED3YAI-V *160937z4219.27N/00153.56EmRV-55 145.687,5 MHz. subto 123 2.543 m.
;ED3YAI-V *160937z4219.27N/00153.56EmRV-55 145.687,5 MHz. subto 123 2.543 m."""
text1 = """;ED3YAF *112157z4211.56N/00210.12EmR-7 145.775 MHz. 1.118 m. JN12CE 77,0"""
text2 = """!4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED<IGATE,MSG_CNT=0,LOC_CNT=25
}F1ZXR-3>APFD09,TCPIP,F4GCF-13*::F1ZXR-3 :BITS.11111111,Telemetrie
`v3R!4w>V]"58}j'ecoute les Relais phonie=
:ED3YAW-15:BITS.11111111,Telemetry VOLT [email protected]/00207.52E_311/009g018t056r...b10140h99>Meteo-Amateur Barcelona-Les Corts 72m asl(WX-Pic) =4337.41N200022.38E#PHG3060/DUFAR ST ARAILLES DEP 32
@150421z4202.38N/00047.23E_102/036g036t035r000b8230h69v-02 Prv.Pluja!4211.56N/00210.12E# Uidigi 1.9b3 144.800 Mhz`v76oSM>V]"5M}j'ecoute les Relais phonie=
;C37NL *021048z4226.51N\00130.15E-URA SECOM HQ DX Shack
!4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED!4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED=\8@43Oyk,- B_73 Claude MANOSQUE (04) {UIV32}
NO GPS L/4226.30N\00201.62ELÿalisage [email protected]/00158.93E_334/003g012t056r000p004P000h67b10071 /Watson W-8681 alt.150 m JN01XL
>150430z Prv.Pluja WM918 Pic-E Wx Station-Montsec d'Ares 1.670 m asl>Pinos (Solsones) 930 m. JN01SU www.digigrup.org i [email protected]/00145.09E_185/003g005t055r000p000P000h10b10090/Garanou 09 {UIV32N}
!4118.09N/00155.66E# Digipeater del Mediterraneo [email protected]/00145.09E_185/003g005t055r000p000P000h10b10090/Garanou 09 {UIV32N}
!4211.56N/00210.12E# Serra del Catllar (Ripolles) 1115msnm/173356h4150.80N/00308.13EY125/000/A=000007/Ti=22/Te=76/V=7613 EA3FLN proves Home made Tracker=4338.27N/00032.00E#DIGI APRS 32 {UIV32N}
`v<BngF>V]"6g}j'ecoute les Relais phonie=
`v<6o|$>V]"6c}j'ecoute les Relais phonie=
}F4GCF-4>APDF32,TCPIP,F4GCF-3*:>121734zDX: F5ZQB-3 42.43.40N 1.41.81E 138,8km 137ø 18:33
!4234.85NU00148.55E# (Aprs digi uidigi 1.9b3) 2>111534zAPRS IGATE R.C. AMIRED/DG3 BARCELONA
<IGATE,MSG_CNT=0,LOC_CNT=28
`v;[!!x>V]"6`}j'ecoute les Relais phonie=
@121833z4129.95N/00139.82E#PLXDigi U=12.3V. U=8.1C - AMIRED>121834z Prv.Pluja WM918 Pic-E Wx Station-Pinos 930 m asl}F4GCF-4>APU25N,TCPIP,F4GCF-3*:=4338.27N/00032.00EIDIGI APRS TCPIP 32 439.700 mhz {UIV32N}
=4251.05N/[email protected] {UIV32N}
!4228.05NV00206.86E#PHG4960 Digi66 de Cerdagne 2160m (UIDIGI 1.9b3) 2!4327.28N\00501.46E#PHG2034/DIGI APRS ADREF13 de Saint Mître 1!4224.55N/00112.82E# UIDIGI1.9b3 Pic de l'Orri 2440m.DX de F5ZQB-3>439700.0 F1OFG-3 314 dg frm F5ZQB-3 146km
>121738zDX: F1ZHU-3 43.54.49N 0.50.44E 49,7km 81ø 18:35
!4321.45NV00225.50E# (Relais VHF UHF Le Mont Simel) [email protected]/00145.09E_174/000g002t055r000p000P000h10b10090/Garanou 09 {UIV32N}
!4345.48N\00451.09E#PHG2034/DIGI APRS ADREF13 La CAUME (1)!4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED!4224.55N/00112.82E# UIDIGI1.9b3 Pic de l'Orri 2440m. !4321.45N\00225.50Ec (Relais UHF 439.700 Mhz Le Mont Simel ) [email protected]/00153.56E#PLXDigi U=8.4Voltios U=1.3Grados /174957h4150.80N/00308.13EY125/000/A=000005/Ti=22/Te=76/V=7593 EA3FLN proves Home made Tracker}F4GCF-4>APU25N,TCPIP,F4GCF-3*:>121749zDX: F5ZQB-3 42.43.40N 1.41.81E 138,8km 137ø 18:43
=4234.85NV00148.55E#PHG5740(APRS DIGI UIDIGI 1.9B3) >111534zAPRS IGATE R.C. AMIRED/DG3 BARCELONA
<IGATE,MSG_CNT=0,LOC_CNT=29
!4156.93N/00230.81E# Digipeater ruta del Mediterraneo AMIRED!4156.93N/00230.81E# Digipeater ruta del Mediterraneo AMIRED_02121852c156s009g005t056r000p001P000h86b10138tU2k/175057h4150.80N/00308.13EY125/000/A=000004/Ti=22/Te=76/V=7593 EA3FLN proves Home made [email protected]/00139.82E#PLXDigi U=12.4V. U=8.1C - AMIRED!4132.62N/00153.58E_ Meteo RadioAmateur Olesa de Montserrat - 08640 - CAT!4156.94N/00313.44E# UIDIGI1.9b1 [email protected]/00047.18E#JN02JA Digigrup-EA3/AMIRED/R.C. [email protected]/00207.52E_357/010g017t056r...b10140h99>Meteo-Amateur Barcelona-Les Corts 72m asl(WX-Pic) @......z4122.70N/00207.52E_357/010g017t056r...b10140h99>Meteo-Amateur Barcelona-Les Corts 72m asl(WX-Pic) !4255.21N\00135.38E# (uidigi 1.9b ) 3:ED3YAW-15:EQNS.0,10.2,0,0,10.2,0,0,0.5,-65,0,0,0,0,0,0:ED3YAW-15:BITS.11111111,Telemetry VOLT +TEMPT#065,122,122,128,000,000,00000000>121753zDX: F1ZCP-3 42.56.07N 0.56.12E 115,4km 150ø 18:42
>DIGINED: Gat 144.8<=>439.7 Pateau de BEILLE 09 alt 1840m
!4224.55N/00112.82E# UIDIGI1.9b3 Pic de l'Orri 2440m. =4243.40N200141.81E#PHG7750/DIGINED:Pour info => LIST
@150451z4202.38N/00047.23E_096/029g035t034r000b8240h76v-01 Prv.Pluja!4226.30NV00201.62E#PHG3837 Sous-digi de Cerdagne dept66 ERR 1400m (1)!4211.56N/00210.12E# Uidigi 1.9b3 144.800 Mhz>121754zDX: F5ZQB-3 42.43.40N 1.41.81E 138,8km 137ø 18:53
}F4GCF-4>APDF32,TCPIP,F4GCF-3*:>121754zDX: F5ZQB-3 42.43.40N 1.41.81E 138,8km 137ø 18:53
=4256.07N200056.12E#PHG5730/DIGI DU COUSERANS 09 => LIST
=4234.85NV00148.55E#PHG5740 W1-1 FRAn-n>Begur(Baix Emporda)!4224.55N/00112.82E# UIDIGI1.9b3 Pic de l'Orri [email protected]/00047.23E_094/038g026t034r000b8240h76v-01 Prv.Pluja/175958h4150.80N/00308.13EY125/000/A=000001/Ti=21/Te=74/V=7593 EA3FLN proves Home made Tracker=4234.85NV00148.55E#PHG5740(APRS DIGI UIDIGI 1.9B3) NO GPS L/4226.30N\00201.62ELÿalisage nuit!4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED!4150.20N/00132.24E# Pinos 144.800 MHz. A.R.S. UIDIGI1.9b3 (1)@......z4122.70N/00207.52E_297/[email protected]/00207.52E_297/[email protected]/00047.18E#JN02JA Digigrup-EA3/AMIRED/R.C. LleidaDX de F1OFG-3>439700.0 F5ZQB-3 132 dg frm F1OFG-3 146km
!4226.30NV00201.62E#PHG3861 73' Sysop Patrick, (UIDIGI 1.9"3) (2)@121802z4128.61N/00158.93E_108/006g015t056r000p004P000h68b10077 /Watson W-8681 alt.150 m JN01XL"""
text3 = """!4211.56N/00210.12E# Serra del Catllar (Ripolles) 1115msnm!4312.62N\00533.60E#PHG2034/DIGI APRS ADREF13 La SAOUPE (CASSIS) (2)@150501z4202.38N/00047.23E_095/032g034t034r000b8240h77 Prv.Pluja_02121858c323s008g002t030r000p000P000h91b10017tU2k@140816z4219.27N/00153.56E#PLXDigi U=9.2Voltios U=64.6Grados !4118.09N/00155.66E# Digipeater del Mediterraneo AMIRED!4228.05NV00206.86E#PHG4960 Digi66 de Cerdagne 2160m (UIDIGI 1.9b3) 1!4136.16N/00148.56E#PHG2980 DIGI APRS"""
import aprslib as ap
print(ap.parse(text1))