kopia lustrzana https://github.com/sm3ulc/hab-wspr
updating...
rodzic
19b2f38438
commit
c692644eab
27
README.md
27
README.md
|
@ -1,6 +1,27 @@
|
|||
# hab-wspr
|
||||
|
||||
* Add balloon-data in webscrape.py
|
||||
* Add aprs-is user in sonde_to_aprs.py
|
||||
## High altittude ballon tracking via WSPR
|
||||
|
||||
run python3 webscrape.py
|
||||
The software webscrapes data from wsprnet.org, filter out calls from the balloons and decode additional telemetry.
|
||||
|
||||
The protocol for the telemetry is described here:
|
||||
|
||||
https://qrp-labs.com/flights/s4.html
|
||||
|
||||
|
||||
# Installation
|
||||
|
||||
git clone https://github.com/sm3ulc/hab-wspr
|
||||
|
||||
The package requires some extra modules that need to be installed via pip or similar
|
||||
|
||||
apt install python-httplib2 python-requests
|
||||
|
||||
# Configuration
|
||||
|
||||
Edit balloon.ini and add aprs-is user, callsigns, balloons etc
|
||||
|
||||
|
||||
To run:
|
||||
|
||||
python3 webscrape.py
|
||||
|
|
10
telemetry.py
10
telemetry.py
|
@ -1,13 +1,10 @@
|
|||
#!/usr/bin/python3.6
|
||||
|
||||
from base64 import b64encode
|
||||
from bs4 import BeautifulSoup
|
||||
import csv
|
||||
import datetime
|
||||
from datetime import datetime,timedelta
|
||||
import datetime
|
||||
import gzip
|
||||
from hashlib import sha256
|
||||
import httplib2
|
||||
import json
|
||||
import re
|
||||
|
@ -17,7 +14,6 @@ import sys
|
|||
import time
|
||||
|
||||
import maidenhead
|
||||
# from maidenhead import toLo
|
||||
|
||||
from balloon import *
|
||||
from sonde_to_aprs import *
|
||||
|
@ -25,14 +21,8 @@ from sonde_to_aprs import *
|
|||
# Power to decimal conversion table
|
||||
pow2dec = {0:0,3:1,7:2,10:3,13:4,17:5,20:6,23:7,27:8,30:9,33:10,37:11,40:12,43:13,47:14,50:15,53:16,57:17,60:18}
|
||||
|
||||
# habhub_callsign = "SM4ULC"
|
||||
balloons = config['main']['habhub_callsign']
|
||||
|
||||
# push_habhub = False
|
||||
# push_aprs = False
|
||||
|
||||
|
||||
|
||||
def trim(spots):
|
||||
# Clean out old spots
|
||||
if len(spots) > 0:
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
# port urllib3
|
||||
|
||||
import configparser
|
||||
import csv
|
||||
import datetime
|
||||
import re
|
||||
import requests
|
||||
from bs4 import BeautifulSoup
|
||||
import csv
|
||||
import sqlite3
|
||||
import sys
|
||||
import time
|
||||
|
|
Ładowanie…
Reference in New Issue