Comments (2)
No, .../000
is actually data extension for course and speed. They are empty, because the station is static. APRS101 pg 33.
from aprs-python.
Fixed in 0.7.2
.
In [1]: import aprslib
In [2]: aprslib.__version__
Out[2]: '0.7.2'
In [3]: aprslib.parse("CW1129>APRS,TCPXX*,qAX,CWOP-4:@132350z4235.56N/07123.21W_.../000g000t030r000p000P000b10149h33.weewx-4.5.1-Vantage")
Out[3]:
{'raw': 'CW1129>APRS,TCPXX*,qAX,CWOP-4:@132350z4235.56N/07123.21W_.../000g000t030r000p000P000b10149h33.weewx-4.5.1-Vantage',
'from': 'CW1129',
'to': 'APRS',
'path': ['TCPXX*', 'qAX', 'CWOP-4'],
'via': 'CWOP-4',
'messagecapable': True,
'raw_timestamp': '132350z',
'timestamp': 1657756200,
'format': 'uncompressed',
'posambiguity': 0,
'symbol': '_',
'symbol_table': '/',
'latitude': 42.592666666666666,
'longitude': -71.38683333333333,
'comment': '.weewx-4.5.1-Vantage',
'weather': {'wind_gust': 0.0,
'temperature': -1.1111111111111112,
'rain_1h': 0.0,
'rain_24h': 0.0,
'rain_since_midnight': 0.0,
'pressure': 1014.9,
'humidity': 33}}
In [4]: aprslib.parse("CW1604>APRS,TCPXX*,qAX,CWOP-4:@132345z4444.70N/06531.17W_.../...g...t031r000p010P002h58b10156L....DsIP")
Out[4]:
{'raw': 'CW1604>APRS,TCPXX*,qAX,CWOP-4:@132345z4444.70N/06531.17W_.../...g...t031r000p010P002h58b10156L....DsIP',
'from': 'CW1604',
'to': 'APRS',
'path': ['TCPXX*', 'qAX', 'CWOP-4'],
'via': 'CWOP-4',
'messagecapable': True,
'raw_timestamp': '132345z',
'timestamp': 1657755900,
'format': 'uncompressed',
'posambiguity': 0,
'symbol': '_',
'symbol_table': '/',
'latitude': 44.745,
'longitude': -65.5195,
'comment': '.DSIP',
'weather': {'temperature': -0.5555555555555556,
'rain_1h': 0.0,
'rain_24h': 2.54,
'rain_since_midnight': 0.508,
'humidity': 58,
'pressure': 1015.6}}
In [5]: aprslib.parse('CW1367>APRS,TCPXX*,qAX,CWOP-5:@152159z4026.39N/07406.71W_.../...g...t065r000p000P000b10163h33eMB51')
Out[5]:
{'raw': 'CW1367>APRS,TCPXX*,qAX,CWOP-5:@152159z4026.39N/07406.71W_.../...g...t065r000p000P000b10163h33eMB51',
'from': 'CW1367',
'to': 'APRS',
'path': ['TCPXX*', 'qAX', 'CWOP-5'],
'via': 'CWOP-5',
'messagecapable': True,
'raw_timestamp': '152159z',
'timestamp': 1657922340,
'format': 'uncompressed',
'posambiguity': 0,
'symbol': '_',
'symbol_table': '/',
'latitude': 40.43983333333333,
'longitude': -74.11183333333334,
'comment': 'eMB51',
'weather': {'temperature': 18.333333333333332,
'rain_1h': 0.0,
'rain_24h': 0.0,
'rain_since_midnight': 0.0,
'pressure': 1016.3,
'humidity': 33}}
from aprs-python.
Related Issues (20)
- parse() cannot handle special characters in message ID HOT 2
- UI frame of death crashes aprslib
- for i in range(channels): - TypeError: 'float' object cannot be interpreted as an integer HOT 1
- Blocking=False in consumer causes errors HOT 1
- line number ack format not being parsed HOT 1
- unit test for PHG accepts protocol decode error HOT 2
- Drop aprsc server status messages HOT 1
- Comment field jibberish in compressed Mic-E packets HOT 6
- so many format errors HOT 1
- print statement
- "00" Humidity
- parse_weather_data may corrupt comment
- PHG and comment parsing error HOT 2
- Comment parsing HOT 2
- Which APRS password? HOT 1
- mox3 is no longer maintained
- Weather packets not decoded correctly? HOT 2
- Unable to find response from sendall()
- Error while parsing PHGR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aprs-python.