On 12/28/20 11:36 PM, Loyd via wsjt-devel wrote:

Hi Lorenzo and all,

I wort to make a Python Class to get entities by prefix (dxcc number).

Some one know if exists a file than contains a full list of entities, prefix, dxcc number?

You can find the list of entities, including the number, at the ARRL site http://www.arrl.org/dxcc.

Please note that there is NOT a one to one relationship between the prefixes and the DXCC entity number. Further, we have to consider that some assignations are only valid in a specific time range. Some stations are outside of the supposed entity. This is not a simple matter.

Using the "cty.dat" file and the tables from ARRL, its possible to build database tables which provide a way to find the DXCC entity number of a given callsign. I have programmed some utilities allowing me to do this job using mariadb MySQL. I confess, in the current state, its a mess.

In the attached file, you can see the output of a job asking the database. Although the prefix suggests that the entity is West Malaysia, the station is operating in the East Malaysia entity 46.

Best wishes,
Claude (DJ0OT)
$ /home/claude/ham/ReqCS.sh 9M2/G3TMA/6

+--------+--------+---------+------+---------------+-----------+------+------+
| prefix | keylen | DXCCcty | WAE  | textual       | continent | CQZ  | ITUZ |
+--------+--------+---------+------+---------------+-----------+------+------+
| 9M     |      2 | 9M2     |    0 | West Malaysia | AS        |   28 |   54 |
+--------+--------+---------+------+---------------+-----------+------+------+
+-------------+---------------+---------+------------+---------------+-----------+------+------+
| name        | name          | DXCCcty | ARRLnumber | textual       | 
continent | CQZ  | ITUZ |
+-------------+---------------+---------+------------+---------------+-----------+------+------+
| 9M2/G3TMA/6 | East Malaysia | 9M6     |         46 | East Malaysia | OC       
 |   28 |   54 |
+-------------+---------------+---------+------------+---------------+-----------+------+------+
9M2/G3TMA/6:
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to