TRLog
[Top] [All Lists]

[Trlog] More Rescoring Cabrillo files?

To: Richard Ferch <ve3iay@rac.ca>
Subject: [Trlog] More Rescoring Cabrillo files?
From: alan.kaul@att.net (alan.kaul@att.net)
Date: Wed, 14 Jul 2004 06:50:32 +0000
List-post: <mailto:trlog@contesting.com>
>Richard wrote:
> 
> As long as the data is in the file, just labelled wrong, you can fix it 
> yourself. If the data is in a field called <no_xmtr> and you want it to be 
> in <rcvd>, you just edit the file to change it. ADIF files are ASCII text 
> files, so you can edit them with any text editor, but for this task you 
> want one with a global replace function. There's one free with every 
> version of Windows since Windows 95, called WordPad (don't bother with 
> Notepad, it's brain-damaged and can't do this job). There's also one free 
> with every version of DOS since, oh, I don't know, maybe 2.0? and it's 
> still there in the Windows XP command-line interface. That one's called EDIT.
> 
> Make a backup copy of your file in case of finger trouble. Once that's 
> done, start up WordPad from the Windows start menu. It's probably located 
> under Accessories. Select the File->Open menu. In the dialog box, at the 
> bottom is a list box called "Files of type:". Click on the down arrow and 
> choose "All files (*.*)". Now find the bad ADIF file and click Open. The 
> file will be displayed on the screen. Select the Edit->Replace... menu 
> item. You will see two boxes, one labelled "Find what:" and the other 
> labelled "Replace with:". Put the tag that is in the file, the one that WL 
> doesn't like (no_xmtr), in the top box, and the tag it wants instead (rcvd) 
> in the bottom one. Press "Replace all".  Select the File->Save menu item, 
> save the file, and exit from WordPad. Try the import again.
> 
> EDIT is actually easier to use, although it doesn't look as nice. Open up a 
> DOS ("Command Line" in XP) window, change directories until you are in the 
> one where the file is stored, and just type the word edit followed by the 
> Enter key. The command to open a file is FIle-> Open, the replace function 
> is under the Search menu (not Edit), the command to save the file is 
> File->Save, and you close the program from File->Exit.
> 
> 73,
> Rich VE3IAY
--------------------
THANKS RICH, 

            FIND/REPLACE WORKS REALLY WELL IF YOU ONLY 
HAVE ONE SET OF VARIABLES TO FIND AND REPLACE.  But this is 
two different variables, both of which appear in an array.  It doesn't seem
to save much labor unless you're talking about adding hundreds of additoinal 
Q's.

I checked the original ADIF files so I could explain the problem accurately, 
using the  
the proper ADIF terms generated by the various programs.

WL will process correctly the FD category information ONLY IF the import 
uses the following characters/letters:
   <RCV:2>xy      
In this case "x" is the number of transmitters and "y" is the letter 
designation,
i.e. 1A, 5E, 6C, etc.

But WLOGCONV takes the TR.dat log and outputs the categories for the FD 
Classifications not using <RCV:2> .  Instead, it substitutes 2 separate sets of 
characters/letters:
   <tx_count:1>x    (for number of transmitters), and
   <category:1>y    (for the letter designation of the power source)

Which means that the "find" routine has to be written for some 50 combinations. 
i.e.  "find" would include all values from <tx_count:1>1 thru approximately 9  
PAIRED IN  AN ARRAY WITH <category:1>from A-thru-F .... 

So, you can then write the "replace" as <RCV:2>1A, or <RCV:2>1B,  <RCV:2>1C, 
etc ... 
thru <RCV:2>9E, <RCV:2>9F, etc....

However, INSTEAD OF WRITING MORE THAN 50 DIFFERENT COMBINATIONS 
OF "FIND AND REPLACE," then importing data and merging the two logs, it might 
be easier to manually ENTER THE QSO DATA from TR-LOG into WRITELOG 
using the keyboard!  

(OR VICE VERSA--DEPENDING ON WHICH FORMAT HAD THE FEWEST Q'S).

Amazing how much work a "labor-saving" computer can require.

73 de alan
--
Alan Kaul W6RCL LaCanada, CA 91011
e-mail:  w6rcl@amsat.org
http://
home.att.net/~alan.kaul/index.html
        
                
                        
_______________________________________________
Trlog mailing list
Trlog@contesting.com
http://lists.contesting.com/mailman/listinfo/trlog

<Prev in Thread] Current Thread [Next in Thread>