Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGN data mis-formated #171

Open
slash-bit opened this issue Oct 24, 2024 · 0 comments
Open

OGN data mis-formated #171

slash-bit opened this issue Oct 24, 2024 · 0 comments

Comments

@slash-bit
Copy link

Hi, I noticed this strange thing , it could be me.
I have GXAirComm in Gs sending data to OGN. I subscribed to OGN server and using python ogn-python client to parse the data from my Ground Station. Here is the example. I tested with XC Tracer and SoftRF TX'ing FLARM.
Here is what I get.
The main problem is Signal Quality is not parsed correctly . It is still in the "Comment". Also OGNFNT suggest its a FANET message. When I compare with another ground stations strings typically the FLARM Comment string has several more fields. As in example below.

{
"raw_message": "FLRE18990>OGNFNT,qAS,BISPW:/152237h5152.36N\00008.03En/A=000452 !W99! id3EE18990 FNT71 51.0dB",
"reference_timestamp": "2024-10-24 15:22:36.938316",
"aprs_type": "position",
"name": "FLRE18990",
"dstcall": "OGNFNT",
"relay": null,
"receiver_name": "BISPW",
"timestamp": "2024-10-24 15:22:37",
"latitude": 51.87,
"symboltable": "\",
"longitude": 0.13,
"symbolcode": "n",
"track": null,
"ground_speed": null,
"altitude": 137.7696,
"comment": "id3EE18990 FNT71 51.0dB",
"address_type": 2,
"aircraft_type": 15,
"stealth": false,
"address": "E18990",
"beacon_type": "fanet",
"distance": 313.3999235065115,
"bearing": 179.7901313873811,
"normalized_quality": null
}

example of the correct FLARM comment:
("FLRE18990>OGNTRK,qAS,BISPW:/210743h5152.36N\00008.04En/A=000505 !W11! id3EE18990 -078fpm +0.0rot 51.0dB -16.8kHz gps7x11",
reference_timestamp=datetime(2024, 10, 23, 21, 7, 44))

{
"raw_message": "FLRE18990>OGNTRK,qAS,BISPW:/210743h5152.36N\00008.04En/A=000505 !W11! id3EE18990 -078fpm +0.0rot 51.0dB -16.8kHz gps7x11",
"reference_timestamp": "2024-10-23 21:07:44",
"aprs_type": "position",
"name": "FLRE18990",
"dstcall": "OGNTRK",
"relay": null,
"receiver_name": "BISPW",
"timestamp": "2024-10-23 21:07:43",
"latitude": 51.87,
"symboltable": "\",
"longitude": 0.13,
"symbolcode": "n",
"track": null,
"ground_speed": null,
"altitude": 153.924,
"comment": "id3EE18990 -078fpm +0.0rot 51.0dB -16.8kHz gps7x11",
"address_type": 2,
"aircraft_type": 15,
"stealth": false,
"address": "E18990",
"climb_rate": -0.396240,
"turn_rate": 0.0,
"signal_quality": 51.0,
"frequency_offset": -16.8,
"gps_quality": {
"horizontal": 7,
"vertical": 11
},
"beacon_type": "tracker"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant