]> dxcluster.net Git - spider.git/commitdiff
add the latest CTY data
authorminima <minima>
Sun, 8 Apr 2007 17:45:53 +0000 (17:45 +0000)
committerminima <minima>
Sun, 8 Apr 2007 17:45:53 +0000 (17:45 +0000)
change the way deletions are done in dupefile

Changes
data/cty.dat
data/prefix_data.pl
perl/DXDupe.pm

diff --git a/Changes b/Changes
index b1407c9dcf58eae0a025fea0048ccb7838c1c75d..371f056b46bbf1a147922ba30d7e21736c6afa62 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+08Apr07=======================================================================
+1. add CTY-1703 cty.dat
+2. alter the way the dupefile deletion is done.
 18Mar07=======================================================================
 1. change URL in show/425.
 04Mar07=======================================================================
index c375be62754baf16efae23ae517135a7b8db40ff..14414d7df0c6e4d1743463bf4cb54868c2f77671 100644 (file)
@@ -302,8 +302,9 @@ Isle of Man:              14:  27:  EU:   54.30:     4.50:     0.0:  GD:
     GB4WXM/P,GB50UN,GB5MOB,GB6SPC;\r
 Northern Ireland:         14:  27:  EU:   54.60:     5.90:     0.0:  GI:\r
     2I,2N,GI,GN,MI,MN,GB0BTC,GB0BVC,GB0CI,GB0CSC,GB0DDF,GB0GPF,GB0MFD,GB0PSM,\r
-    GB0REL,GB0SHC,GB0SIC,GB0SPD,GB0TCH,GB0WOA,GB2IL,GB2LL,GB2MRI,GB2NIC,\r
-    GB2NTU,GB2TCA,GB3MNI,GB4CSC,GB4ES,GB4SPD,GB5BIG,GB5BL,GB5SPD,GB90SOM;\r
+    GB0REL,GB0SHC,GB0SIC,GB0SPD,GB0TCH,GB0WOA,GB1SPD,GB2IL,GB2LL,GB2MGY,\r
+    GB2MRI,GB2NIC,GB2NTU,GB2TCA,GB3MNI,GB4CSC,GB4ES,GB4SPD,GB5BIG,GB5BL,\r
+    GB5SPD,GB90SOM;\r
 Jersey:                   14:  27:  EU:   49.30:     2.20:     0.0:  GJ:\r
     2H,2J,GH,GJ,MH,MJ,GB0CLR,GB0GUD,GB0JSA,GB0SHL,GB2BYL,GB2JSA,GB4BHF,\r
     GJ3DVC/L;\r
@@ -312,16 +313,16 @@ Scotland:                 14:  27:  EU:   55.80:     4.30:     0.0:  GM:
     GB0GHD,GB0GKR,GB0GNE,GB0HHW,GB0KGS,GB0KTC,GB0LCS,GB0MLM,GB0NHL,GB0OS,\r
     GB0OYT,GB0PPE,GB0QWM,GB0RBS,GB0SHP,GB0SK,GB0SKY,GB0SS,GB0SSF,GB100MAS,\r
     GB125BRC,GB150NRL,GB1FVT,GB2AGG,GB2AST,GB2AYR,GB2CHG,GB2DHS,GB2ELH,GB2FBM,\r
-    GB2FIO,GB2FSM,GB2GNL,GB2GTM,GB2HI,GB2HRH,GB2HST,GB2HSW,GB2IAS,GB2IGS,\r
-    GB2IOC,GB2IOG,GB2IOT,GB2JUNO,GB2KDS,GB2KHL,GB2LAY,GB2LBN,GB2LCL,GB2LCP,\r
-    GB2LGB,GB2LMG,GB2LNM,GB2LO,GB2LP,GB2LS,GB2LSS,GB2LT,GB2LTN,GB2MAS,GB2MOD,\r
-    GB2MOF,GB2MSL,GB2MUL,GB2NAG,GB2NBC,GB2NCL,GB2NEF,GB2NL,GB2NTS,GB2OWM,\r
-    GB2OYC,GB2PS,GB2RB,GB2RRL,GB2SKG,GB2SLH,GB2SSF,GB2STB,GB2TDS,GB2TI,GB2WBB,\r
-    GB3GM,GB400CA,GB4AAS,GB4CGW,GB4DAS,GB4GM,GB4LNM,GB4NFE,GB4PMS,GB4RAF,\r
-    GB4SLH,GB4TSR,GB4ZBS,GB50ATC,GB50SWL,GB5AST,GB5CO,GB5FHC,GB5OL,GB5RO,\r
-    GB5SI,GB5TI,GB60BBC,GB60CRB,GB60NTS,GB6MI,GB6SA,GB6SM,GB6TAA,GB6WW,\r
-    GB700BSB,GB75GD,GB75SCP,GB75STT,GB8AYR,GB8CA,GB8CF,GB8CI,GB8CM,GB8CN,\r
-    GB8CO,GB8CY,GB8FF,GB8OO,GB8RU,GB93AM,MM/DL6MHW;\r
+    GB2FIO,GB2FSM,GB2GNL,GB2GTM,GB2HI,GB2HRH,GB2HST,GB2HSW,GB2IAS,GB2IGB,\r
+    GB2IGS,GB2IOC,GB2IOG,GB2IOT,GB2JUNO,GB2KDS,GB2KHL,GB2LAY,GB2LBN,GB2LCL,\r
+    GB2LCP,GB2LGB,GB2LMG,GB2LNM,GB2LO,GB2LP,GB2LS,GB2LSS,GB2LT,GB2LTN,GB2MAS,\r
+    GB2MOD,GB2MOF,GB2MSL,GB2MUL,GB2NAG,GB2NBC,GB2NCL,GB2NEF,GB2NL,GB2NTS,\r
+    GB2OWM,GB2OYC,GB2PBF,GB2PS,GB2RB,GB2RRL,GB2SKG,GB2SLH,GB2SPD,GB2SSF,\r
+    GB2STB,GB2TDS,GB2TI,GB2WBB,GB3GM,GB400CA,GB4AAS,GB4CGW,GB4DAS,GB4GM,\r
+    GB4LNM,GB4NFE,GB4PMS,GB4RAF,GB4SLH,GB4TSR,GB4ZBS,GB50ATC,GB50SWL,GB5AST,\r
+    GB5CO,GB5FHC,GB5OL,GB5RO,GB5SI,GB5TI,GB60BBC,GB60CRB,GB60NTS,GB6MI,GB6SA,\r
+    GB6SM,GB6TAA,GB6WW,GB700BSB,GB75GD,GB75SCP,GB75STT,GB8AYR,GB8CA,GB8CF,\r
+    GB8CI,GB8CM,GB8CN,GB8CO,GB8CY,GB8FF,GB8OO,GB8RU,GB93AM,MM/DL6MHW;\r
 Shetlands:                14:  27:  EU:   60.40:     1.50:     0.0:  *GM/s:\r
     GZ,MZ,2M1ANT,2M1ASQ,2M1ODL,GM0DJI,GM0EKM,GM0ILB,GM0MZD,GM0VFA,GM1CBQ,\r
     GM1KKI,GM1ZNR,GM3KLA,GM3STU,GM3WCH,GM3WHT,GM3XPQ,GM3ZET,GM3ZNM,GM3ZXH,\r
@@ -486,7 +487,7 @@ Kure I.:                  31:  61:  OC:   28.40:   178.40:    11.0:  KH7K:
 American Samoa:           32:  62:  OC:  -14.30:   170.80:    11.0:  KH8:\r
     AH8,KH8,NH8,WH8;\r
 Swains Island:            32:  62:  OC:  -11.05:   171.25:    11.0:  KH8/s:\r
-    KH8SI;\r
+    KH8SI,N8S;\r
 Wake I.:                  31:  65:  OC:   19.30:  -166.60:   -12.0:  KH9:\r
     AH9,KH9,NH9,WH9;\r
 Alaska:                   01:  01:  NA:   61.20:   150.00:     9.0:  KL:\r
@@ -537,7 +538,7 @@ Peru:                     10:  12:  SA:  -12.10:    77.10:     5.0:  OA:
 Lebanon:                  20:  39:  AS:   33.90:   -35.50:    -2.0:  OD:\r
     OD;\r
 Austria:                  15:  28:  EU:   48.20:   -16.30:    -1.0:  OE:\r
-    OE,4U1VIC,OE3XHA/SH75;\r
+    OE,SH75,4U1VIC;\r
 Finland:                  15:  18:  EU:   60.20:   -25.00:    -2.0:  OH:\r
     OF,OG,OH,OI,OJ;\r
 Aland Is.:                15:  18:  EU:   60.20:   -20.00:    -2.0:  OH0:\r
@@ -713,7 +714,7 @@ Asiatic Russia:           17:  30:  AS:   55.00:   -83.00:    -7.0:  UA9:
     UG9W(16),UH0,UH7,UH8,UH8T(18)[32],UH8V(18)[33],UH9,UH9I(18)[31],UH9M(17),\r
     UH9S(16),UH9T(16),UH9W(16),UI0,UI7,UI8,UI8T(18)[32],UI8V(18)[33],UI9,\r
     UI9I(18)[31],UI9M(17),UI9S(16),UI9T(16),UI9W(16),R270A,R270E,R375I,R3F/9,\r
-    R9HQ(17)[30],UE105SBM(18)[32];\r
+    R9HQ(17)[30],UE105SBM(18)[32],UE15UWC(18)[32];\r
 Uzbekistan:               17:  30:  AS:   41.20:   -69.30:    -5.0:  UK:\r
     UJ,UK,UL,UM;\r
 Kazakhstan:               17:  30:  AS:   43.30:   -76.90:    -5.0:  UN:\r
@@ -880,7 +881,7 @@ New Zealand:              32:  60:  OC:  -36.90:  -174.80:   -12.0:  ZL:
 Chatham Is.:              32:  60:  OC:  -44.00:   176.50:  -12.75:  ZL7:\r
     ZL7,ZM7;\r
 Kermadec Is.:             32:  60:  OC:  -30.00:   177.90:   -12.0:  ZL8:\r
-    ZL8,ZM8;\r
+    ZL1GO/8,ZL8,ZM8;\r
 Auckland & Campbell:      32:  60:  OC:  -50.70:  -166.50:   -12.0:  ZL9:\r
     ZL9,ZM9;\r
 Paraguay:                 11:  14:  SA:  -25.30:    57.70:     4.0:  ZP:\r
index 1f368c1743720f4bedc35378fcbace4940d4513c..4ebb495125c76c5b15a5461ed825a2e7eb559fdd 100644 (file)
   'GB1CCC' => '66',
   'GB1FVT' => '64,351',
   'GB1LSG' => '66',
+  'GB1SPD' => '62',
   'GB1SSL' => '66',
   'GB1TDS' => '66',
   'GB2000SET' => '66',
   'GB2HST' => '64,351',
   'GB2HSW' => '64,351',
   'GB2IAS' => '64,351',
+  'GB2IGB' => '64,351',
   'GB2IGS' => '64,351',
   'GB2IL' => '62',
   'GB2IMD' => '66',
   'GB2LT' => '64,351',
   'GB2LTN' => '64,351',
   'GB2MAS' => '64,351',
+  'GB2MGY' => '62',
   'GB2MIL' => '66',
   'GB2MLM' => '66',
   'GB2MOD' => '64,351',
   'GB2NTU' => '62',
   'GB2OWM' => '64,351',
   'GB2OYC' => '64,351',
+  'GB2PBF' => '64,351',
   'GB2PS' => '64,351',
   'GB2RB' => '64,351',
   'GB2RFS' => '66',
   'GB2SIP' => '66',
   'GB2SKG' => '64,351',
   'GB2SLH' => '64,351',
+  'GB2SPD' => '64,351',
   'GB2SSF' => '64,351',
   'GB2STB' => '64,351',
   'GB2TCA' => '62',
   'N8NA' => '220',
   'N8PR' => '220',
   'N8RA' => '220',
+  'N8S' => '333',
   'N8WXQ' => '220',
   'N9' => '475,476,509',
   'N9ADG' => '220',
   'OC' => '122',
   'OD' => '123',
   'OE' => '124',
-  'OE3XHA/SH75' => '124',
   'OF' => '125',
   'OF0' => '126',
   'OG' => '125',
   'SF' => '146',
   'SG' => '146',
   'SH' => '146',
+  'SH75' => '124',
   'SI' => '146',
   'SJ' => '146',
   'SK' => '146',
   'UE0' => '422,424,428',
   'UE1' => '418',
   'UE105SBM' => '176,425,430',
+  'UE15UWC' => '176,425,430',
   'UE2' => '175',
   'UE200TARS' => '173,418,419,420,421',
   'UE3' => '419',
   'ZL' => '253,518,519,520,521',
   'ZL0' => '367',
   'ZL1' => '518',
+  'ZL1GO/8' => '255',
   'ZL2' => '519',
   'ZL3' => '520',
   'ZL4' => '521',
index a5db5499c418e414913dbb60550573e970713030..1dd7c700ff9fdbc0fc40202e6c6a7df328a79d0a 100644 (file)
@@ -20,8 +20,10 @@ $lasttime = 0;
 $fn = "$main::data/dupefile";
 
 use vars qw($VERSION $BRANCH);
-
-main::mkver($VERSION = q$Revision$);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
+$main::build += $VERSION;
+$main::branch += $BRANCH;
 
 sub init
 {
@@ -72,9 +74,11 @@ sub process
 {
        # once an hour
        if ($main::systime - $lasttime >=  3600) {
+               my @del;
                while (($k, $v) = each %d) {
-                       delete $d{$k} if $main::systime >= $v;
+                       push @del, $k  if $main::systime >= $v;
                }
+               delete $d{$_} for @del;
                $lasttime = $main::systime;
        }
 }