[RRDXA] WW-Digi-Contest
Christoph Berg
cb at df7cb.de
Tue Aug 30 04:20:07 EDT 2022
Re: Sven Pipjorke
> bin neu in der Runde und habe auch erst seit Mitte Mai meine Klasse-E Lizenz.
Willkommen!
> Frage zu Euren Ergebnissen: habt Ihr die Auswertung selbst erstellt, oder bekommt man die irgendwo her?
Das macht macht meistens die Contestsoftware, kann man aber auch
selber machen. Ich hab mein ganzes Log in einer PostgreSQL-Datenbank
und kann dann SQL machen:
\set contest 'YO DX HF Contest'
with bands as (
select qrg::band as band,
count(*) as qso,
count(distinct cty) as dxcc,
count(distinct case when cty = 'YO' then rstrx end) as county,
sum(case when cty = 'DL' then 1
when cty = 'YO' then 8
when continent(cty::text) = 'EU' then 4
else 8 end) as points
from log
where contest = :'contest' and start >= current_date - '5 days'::interval
group by qrg::band)
select * from bands
union all
select null, sum(qso), sum(dxcc), sum(county), sum(points) from bands
union all
select null, null, null, null, (sum(dxcc) + sum(county)) * sum(points) from bands;
band │ qso │ dxcc │ county │ points
──────┼─────┼──────┼────────┼────────
80m │ 4 │ 3 │ 0 │ 16
40m │ 12 │ 8 │ 4 │ 64
20m │ 69 │ 26 │ 9 │ 360
15m │ 20 │ 14 │ 2 │ 100
10m │ 15 │ 11 │ 1 │ 64
∅ │ 120 │ 62 │ 16 │ 604
∅ │ ∅ │ ∅ │ ∅ │ 47112
(7 Zeilen)
Zeit: 643,312 ms
select
count(distinct date_round(start, '10 min')) * '10 min'::interval as operating_time
from log
where contest = :'contest' and start >= current_date - '5 days'::interval;
operating_time
────────────────
04:30:00
(1 Zeile)
Zeit: 11,199 ms
Wenn jemand interessiert:
https://github.com/df7cb/df7cb-log/tree/master/sql
https://github.com/df7cb/df7cb-log/blob/master/tlf/score.sql
Gibts eigentlich eine "offizielle" Definition von Operating Time? Ich
hab jetzt einfach die Zahl der 10min-Intervalle gezählt, in denen ich
mindestens ein QSO gemacht habe, aber vielleicht kann man das schlauer
berechnen.
Christoph
More information about the RRDXA
mailing list