Skip to content

Instantly share code, notes, and snippets.

View matburnham's full-sized avatar

Mat Burnham matburnham

View GitHub Profile
meta:
id: cape1
endian: be
doc-ref: |
http://www.dk3wn.info/sat/afu/sat_cape.shtml
https://www.pe0sat.vgnet.nl/download/CAPE/cape-1_02-07-2020_1940UTC.PNG
https://www.pe0sat.vgnet.nl/download/CAPE/cape-1_02-07-2020_1940UTC.txt
https://www.pe0sat.vgnet.nl/download/CAPE/tlm_info.txt
#:field callsign: callsign
doc: |
meta:
id: aistechsat2
file-extension: aistechsat2
endian: be
seq:
- id: magic # complete guess
contents: [0x82, 0xf3, 0x9d, 0x00, 0x00, 0x11]
- id: counter # this seems to be incrementing
type: u1
- id: unk1 # how much of this is header, how much is inside packet?
/**
* Tool to convert routes from LDWA website to a GPX file.
*
* It's probably easier to pay for a subscription, but that's not the point.
* This should be modifiable for any other OpenLayers website.
*
* This would be much easier but LDWA is still on OpenLayers 2.11 so many of the newer methods are not available.
*
* Instead it:
* - grab the 'points' global
@matburnham
matburnham / callsigns.py
Last active April 15, 2023 10:11 — forked from kwirk/callsigns.py
callsigns.py
import csv
import string
import itertools
import re
def count_morse(callsign):
# Create a regular expression pattern that matches dots and dashes
morse_pattern = re.compile('[.-]+')
# Remove any non-alphabetic and non-Morse characters from the callsign