on4kjm / FLEcli

Multi-platform "Fast Log Entry"(FLE) processing tool
MIT License
32 stars 9 forks source link

Support multiple SOTA/POTA in same input file #101

Open petereverett opened 1 year ago

petereverett commented 1 year ago

If I am activating several SOTA summits in a single trip, is it possible to add support for multiple SOTA (or POTA/WWFF etc.) in the same FLE file?

For example:

#Header
mycall MW0PJE/P
mysota GW/NW-001
#Log
2m FM
1000 mw0abc
01 mw0abd
.
.
.
mysota GW/NW-002
1200 mm0abe
01 mm0abf
.
.
.
mysota GW/NW-003
1400 mi0abg
01 mi0abh

In SOTA CSV (maybe also in ADIF) you can have more than one summitin the same output file.

pete

jmMeessen commented 11 months ago

The enhancement request has been mentioned to Bernd (DF3CB), developer of the Windows application.

jmMeessen commented 11 months ago

Christophe, ON6ZQ, confirms that it is supported in the SOTA output.

It needs to be investigated whether this would work for POTA or WWFF. (Should work for the ADIF output files)

jmMeessen commented 11 months ago

Feature can be tested with ./FLEcli csv -i test/data/multi-SOTA-summits.txt --overwrite

The load file should be updated first as it currently fails as expected with:

Processing errors:
Attempt to redefine MySOTA at line 12
Attempt to redefine MySOTA at line 17

The log output, currently:

MyCall    MW0PJE/P
MySOTA    GW/NW-001

Date       Time Band Mode Call         Sent Rcvd Notes
----       ---- ---- ---- ----         ---- ---- ----
2016-04-24 1000 2m   FM   MW0ABC       59   59   
2016-04-24 1001 2m   FM   MW0ABD       59   59   
2016-04-24 1200 2m   FM   MM0ABE       59   59   
2016-04-24 1201 2m   FM   MM0ABF       59   59   
2016-04-24 1400 2m   FM   MI0ABG       59   59   
2016-04-24 1401 2m   FM   MI0ABH       59   59 

The log output should be something like:

MyCall    MW0PJE/P
MySOTA    GW/NW-001

Date       Time Band Mode Call         Sent Rcvd Notes
----       ---- ---- ---- ----         ---- ---- ----
2016-04-24 1000 2m   FM   MW0ABC       59   59   
2016-04-24 1001 2m   FM   MW0ABD       59   59   

MyCall    MW0PJE/P
MySOTA    GW/NW-001

Date       Time Band Mode Call         Sent Rcvd Notes
----       ---- ---- ---- ----         ---- ---- ----
2016-04-24 1200 2m   FM   MM0ABE       59   59   
2016-04-24 1201 2m   FM   MM0ABF       59   59   

MyCall    MW0PJE/P
MySOTA    GW/NW-001

Date       Time Band Mode Call         Sent Rcvd Notes
----       ---- ---- ---- ----         ---- ---- ----
2016-04-24 1400 2m   FM   MI0ABG       59   59   
2016-04-24 1401 2m   FM   MI0ABH       59   59