Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ADIF-Import
23-04-2017, 02:58 PM,
#1
ADIF-Import
Hello
i will import the following ADIF-Contest-File:

<call:6>DK0GSM <qso_date:8>20170415 <time_on:4>0701 <band:3>80M <mode:3>SSB <freq:5>3.714 <station_callsign:6>DL1GBQ <dxcc:3>230 <cqz:2>14 <ituz:2>28 <sig:3>A47
<rst_sent:2>59 <rst_rcvd:2>59 <stx_string:3>Z49 <srx_string:3>A47 <contest_id:3>BWA <lotw_qsl_sent:1>N <lotw_qsl_rcvd:1>N <eqsl_qsl_sent:1>N <eqsl_qsl_rcvd:1>N <qsl_sent:1>N <qsl_rcvd:1>N <eor>

The Import of call, date, time, band, mode, freq, rst_sent, rst_rcvd is ok!
But the <srx_string:3>A47  and  <contest_id:3>BWA   i can not find in the DOK- or Note-field.
What i do wrong? 

73 de Hardy
Reply
24-04-2017, 09:10 AM, (This post was last modified: 24-04-2017, 09:15 AM by EA3GCV.)
#2
RE: ADIF-Import
Hello Hardy,

Swisslog assign automatically all the standard 3.0.5 ADIF fields to the right destination fields in the Swisslog database, ignoring the ADIF fields which has no destination field in Swisslog. Swisslog will only ask user to manuallly set the fields belonging to applications (the ones beginning with APP_) or when a non standard ADIF field name is found in the file (you can check all the standard ADIF field names here: http://www.adif.org/305/ADIF_305.htm).

Because the SRX_STRING may contain many things, you have to modify the ADIF field with a text editor (or with ADIFMASTER http://www.dxshell.com/adif-master.html) to tell Swisslog the right destination field according to your needs.

The first thing you have to find out is the field Swisslog uses for the DOK statistic. In the Swisslog help go to STATISTiCS section and read the PREDEFINED STATISTIC DEFINITION BY NAME. Search the DOK statistic and you will see that uses the P_SUB_REGION field. The Note field in Swisslog is L_NOTE.

Once you know the destination fields you have two options:

1. With a text editor or by using ADIF MASTER, replace SRX_STRING by APP_DOK and CONTEST_ID by APP_CONTEST (or whatever you want but always beginning with APP or using any non ADIF 3.0.5 standard field names). During importation Swisslog will ask you in which field you want to assign these fields. By default you will see the $ symbol besides the ADIF field. This means "ignore importing this field". You have to set a Swisslog field from the right part when Swisslog prompts to set an unknown ADIF field.

2. You can do all the work in the ADIF file directly so that Swisslog will know the destination fields during the importation process. Edit the ADIF field and replace the SRX_STRING column name (in ADIF MASTER) or the SRX_STRING by CNTY. CNTY is internally assigned to be imported in the SUB_REGION field because the US County statistic uses the SUB_REGION field. Because you want to set the CONTEST_ID in the NOTES field you have to replace CONTEST_ID by NOTES.

After all these quick modifications the content of the original SRX_STRING will go to the the right DOK field in Swisslog and CONTEST_ID in the Notes field as you desire.


Best 73
Jordi, EA3GCV
Current developer of Swisslog
Reply
29-04-2017, 11:02 PM,
#3
RE: ADIF-Import
Hello Jordi,

thanks a lot for the extensive and very good description.
With Option #1 i could now import the contest-file without problems.
Thanks again for the support!

73 de Hardy, DL1GBQ
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)