User Tools

Site Tools


Mark4 Station Codes

The Mark4 correlation system represents stations with a single letter. Thus a 2-letter to 1-letter mapping is needed for each station. There is a default mapping (compiled in) which includes a number of stations and seven empty slots to be used as stations not in the table are encountered:

Default Station Assignments
A ↔ AiB ↔ BdC ↔ ShD ↔ 13
E ↔ WfF ↔ EbG ↔ GbH ↔ Ho
I ↔ MaJ ↔ CcK ↔ KkL ↔ xx
M ↔ McN ↔ NyO ↔ KbP ↔ Oh
Q ↔ TcR ↔ ZcS ↔ NtT ↔ Ts
U ↔ UrV ↔ WzW ↔ xxX ↔ On
Y ↔ YbZ ↔ Mha ↔ Apb ↔ Br
c ↔ Cmd ↔ Cne ↔ xxf ↔ Fd
g ↔ xxh ↔ Hni ↔ xxj ↔ Jc
k ↔ Kpl ↔ Lam ↔ Mkn ↔ Nl
o ↔ Ovp ↔ Ptq ↔ Qbr ↔ Ro
s ↔ Sct ↔ Tiu ↔ Urv ↔ Pv
w ↔ Wbx ↔ xxy ↔ Y z ↔ xx

As each station not in the table is found, an xx entry in the table above is assigned to that station and the corresponding single letter code is used thereafter. If you have more than seven stations not in this table, or if you wish to assign the single letters that will be used for each stations, you must supply a file with new mappings and inform difx2mark4 via an environment variable HOPS_STATION_CODE which should be the (local or absolute) path to a file with the new one-letter ↔ two-letter pairings. E.g.

A Aa
B Bb
C Cc

or equivalently

Aa A
Bb B
Cc C

Note that difx2mark4 enforces a one-to-one mapping, as bad things will happen if different stations were to be given the same one-letter identifier. (The hops software has no way to tell that this has happened, and difx2mark4 does not currently have any safeguard against this.) So if you wish to reassign one of the existing assignments, you must first make it an open slot (i.e. assign it to xx) and then assign it. E.g.

k xx
W Kp
k Hh

will shift Kp from k to W, and install Hh in the k slot.

difx/difx2mark4/stationcodes.txt · Last modified: 2012/04/30 23:55 by geoffcrew