Skip to content

ADI ingest fails if "<CALL" not the first line element #2

@Sinager

Description

@Sinager

Hello,
thank you for your work, on which I'm trying to write an award participants score / ranking script.

Going through the different log samples from various log softwares I met issue as per title
.
According to specifications at IV.A.6. ADI Records there is no mandatory order in which the fields appear.

A QSO Record describing a QSO with WN4AZY made on May 13, 1996 at 1305Z could look like this
call:6WN4AZYband:320Mmode:4RTTY<qso_date:8>19960513<time_on:4>1305
or like this:
<qso_date:8>19960513
<time_on:4>1305
call:6WN4AZY
band:320M
mode:4RTTY

I suggest changing line 59 of adiftools.py as follows:

original: if record[:5].upper() == '<CALL' and
amended: if record.find('<CALL') and\

works in my case.

Best 73
Stefano IZ0MJE
Rome, Italy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions