dh1tw / pyhamtools

A Library with Amateur Radio specific Functions and Methods
MIT License
87 stars 24 forks source link

Some FT8 Call are not parsed well #25

Closed petrkr closed 1 year ago

petrkr commented 1 year ago

Some users use some postfix to call and parser fails due that:

For example:

| TX | 2023-08-25 15:30:45 | IZ1PAI.8   | JN70xw     | -24 dB | Unknown              | 2017 Hz |  1025 km | FT8   | 20m  |
| RX | 2023-08-25 15:42:26 | RU3SN.P    | KO94wq     | -20 dB | Unknown              |  500 Hz |  1787 km | FT8   | 20m  |
| RX | 2023-08-25 15:49:26 | RU3FA.QRP  | KO84rv16   | -14 dB | Unknown              |  435 Hz |  1600 km | FT8   | 20m  |

Do not know if do some another RegEx for this (maybe if I will gather more data than just few) or just strip dot out or just try/expect it and let it as Unknown field.

petrkr commented 1 year ago

It is converted from slash (/) to dot (.) by MQTT PSK Reporter feed, probably during compatibility with MQTT topic path.. I will just convert dots back to slashes.

| RX | 2023-08-25 16:42:41 | HA7TM/P    | JN97KK     |  -9 dB | Hungary              |  609 Hz |   438 km | FT8   | 20m  |