On 03/06/2020 13:54, Martin Davies G0HDB wrote:
I have a brief query about the format of the ADIF records in the wsjtx_log.adi
file that's
created and updated by WSJT-X.
I appear to have lost the first 1,000 or so entries in my wsjtx_log.adi file; I
occasionally open
the file using the ADIFMaster utility app and I suspect that sometime in the
past (apparently
over a year ago) and presumably as a result of operator incompetence(!) I must
have
accidentally deleted a block of the ADIF records at the beginning of the file.
Sadly I don't have any backups of the file that go back that far, but I can
re-create ADIF
records for all the missing entries in the wsjtx_log.adi file from my logging
program and/or
from ClubLog and LoTW. I could then just paste all the missing ADIF records
back into the
wsjtx_log.adi file, but this gives rise to my question...
Each ADIF record in the wsjtx_log.adi file created and updated by WSJT-X has
all the ADIF
fields on a single line whereas the ADIF records that I can re-create for the
QSOs missing
from the wsjtx_log.adi file will be on multiple lines with each line ending in
a CR/LF pair.
My question for the developers is: When WSJT-X reads the ADIF log file, does
it care if
each ADIF record up to its <eor> marker is spread across multiple lines each
ending with
CR/LF, or does WSJT-X expect and/or require each ADIF record to be on a single
line with a
single CR/LF after the <eor> marker?
Thanks in advance,
--
73, Martin G0HDB
Hi Martin,
the ADIF specification treats any characters outside of the specified
ADIF tags and data as commentary, i.e. it is ignored. I recommend that
you use an ADIF export from your logging program to replace your damaged
wsjtx_log.adi file. ADIF exports from QSL matching services usually do
not have enough information, or have missing records. You can do the
export and replace the file (perhaps move aside the old one if you don't
keep system backups - but of course you do have system backup don't
you?). The next restart of WSJT-X or simply a press of the
"Settings->Colours->Recan ADIF log" button will pick up the new data.
73
Bill
G4WJS.
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel