8000 ogn-decode fails to parse fanet temperature data properly · Issue #42 · glidernet/ogn-rf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ogn-decode fails to parse fanet temperature data properly #42
Open
@bzed

Description

@bzed

Here is a dump of the same packet as received from gxaircom (WALS) and ogn-rf/decode (KoGu):

Received position_weather: FNT08DFBC>OGNFNT,qAS,WALS:/145016h4749.14N/01306.30E_129/001g001t068h47b10288 0.2dB
{   'aprs_type': 'position_weather',
    'barometric_pressure': 10288,
    'comment': '0.2dB',
    'dstcall': 'OGNFNT',
    'humidity': 0.47000000000000003,
    'latitude': 47.819,
    'longitude': 13.105,
    'name': 'FNT08DFBC',
    'rainfall_1h': None,
    'rainfall_24h': None,
    'raw_message': 'FNT08DFBC>OGNFNT,qAS,WALS:/145016h4749.14N/01306.30E_129/001g001t068h47b10288 '
                   '0.2dB',
    'receiver_name': 'WALS',
    'reference_timestamp': datetime.datetime(2023, 10, 10, 14, 50, 17, 742668),
    'relay': None,
    'symbolcode': '_',
    'symboltable': '/',
    'temperature': 20.0,
    'timestamp': datetime.datetime(2023, 10, 10, 14, 50, 16),
    'wind_direction': 129,
    'wind_speed': 1.8518251853985166,
    'wind_speed_peak': 1.8518251853985166}

Received position_weather: FNT08DFBC>OGNFNT,qAS,KoGu:/145016h4749.14N/01306.29E_129/001g002t104h47b10288 28.3dB -17.0kHz
{   'aprs_type': 'position_weather',
    'barometric_pressure': 10288,
    'comment': '28.3dB -17.0kHz',
    'dstcall': 'OGNFNT',
    'humidity': 0.47000000000000003,
    'latitude': 47.819,
    'longitude': 13.104833333333334,
    'name': 'FNT08DFBC',
    'rainfall_1h': None,
    'rainfall_24h': None,
    'raw_message': 'FNT08DFBC>OGNFNT,qAS,KoGu:/145016h4749.14N/01306.29E_129/001g002t104h47b10288 '
                   '28.3dB -17.0kHz',
    'receiver_name': 'KoGu',
    'reference_timestamp': datetime.datetime(2023, 10, 10, 14, 50, 18, 906158),
    'relay': None,
    'symbolcode': '_',
    'symboltable': '/',
    'temperature': 40.0,
    'timestamp': datetime.datetime(2023, 10, 10, 14, 50, 16),
    'wind_direction': 129,
    'wind_speed': 1.8518251853985166,
    'wind_speed_peak': 3.703650370797033}

Note the difference in the temperature - its about twice of the actual value, somewhere is the encoding not applied properly in the ogn decoder.

A good example are also the (non-gxaircom) weather stations around Interlaken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0