K9OX QSL Log

The PSK Reporter web application accepts signal reports and maps them based on various queries. Here I retrieve my reports and look for strong signals from far away. 20m 30m

http://found.ward.bay.wiki.org/assets/pages/k9ox-qsl-log/log.html?uniq=1&snr=1&miles=3000 HEIGHT 600

We upload from pc to view here with javascript.

pages/k9ox-qsl-log

Parameters select for grid or call prefix, snr or miles minimum, or uniq calls.

We pull data from the site and extract higher resolution grid squares to improve map markers.

curl -s 'https://pskreporter.info/cgi-bin/pskdata.pl?adif=1&days=7&receiverCallsign=k9ox'| perl -ne 'print "$1\t$2\n" if /<CALL:\d+>(.*?)<.*?<GRIDSQUARE:\d+>(.*?)</' | sort | uniq

We use ruby to merge new data with our accumulated logbook.txt.

# merge new data with existing callbook.txt # usage curl ... | amend.rb def hash lines Hash[lines.map{|line|line.chomp.split(/\t/)}] end old = hash File.readlines('callbook.txt') now = hash STDIN.readlines puts old.merge(now).map{|k,v| "#{k}\t#{v}"}