add DXCIDR, fix version no tracking
[spider.git] / html / filtering_en-9.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4  <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
5  <TITLE>The DXSpider User Filtering Primer v1.0: Some Practice Examples </TITLE>
6  <LINK HREF="filtering_en-10.html" REL=next>
7  <LINK HREF="filtering_en-8.html" REL=previous>
8  <LINK HREF="filtering_en.html#toc9" REL=contents>
9 <link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">
10 </HEAD>
11 <BODY>
12 <A HREF="filtering_en-10.html">Next</A>
13 <A HREF="filtering_en-8.html">Previous</A>
14 <A HREF="filtering_en.html#toc9">Contents</A>
15 <HR>
16 <H2><A NAME="s9">9.</A> <A HREF="filtering_en.html#toc9">Some Practice Examples </A></H2>
17
18 <P>The proceeding sections have discussed the basics of DXSpider filters. The 
19 following are some examples utilizing basic filters and some not so basic 
20 combination filters.</P>
21
22 <P>Let's say you don't want to see any of those 6m, 2m, or 220 spots.</P>
23 <P>
24 <BLOCKQUOTE><CODE>
25 <PRE>
26 reject/spot 0 on uhf
27 </PRE>
28 </CODE></BLOCKQUOTE>
29 </P>
30 <P>As a good stand alone contest filter ...</P>
31 <P>
32 <BLOCKQUOTE><CODE>
33 <PRE>
34 accept/spot on contesthf/&lt;mode> where mode is either CW, SSB, or RTTY
35 </PRE>
36 </CODE></BLOCKQUOTE>
37 </P>
38 <P>Note: since a slot number is not included slot 1 is assumed.</P>
39
40 <P>It's a CW contest weekend so you don't want to see any WARC band or SSB spots.</P>
41 <P>
42 <BLOCKQUOTE><CODE>
43 <PRE>
44 accept/spots 0 on contesthf/cw
45 </PRE>
46 </CODE></BLOCKQUOTE>
47 </P>
48 <P>It's the same weekend, but you also don't want to see any US or Canadian spots, 
49 or any rtty and data spots that are included in the CW portion of the bands. 
50 Any of the following will accomplish the same result:</P>
51 <P>
52 <BLOCKQUOTE><CODE>
53 <PRE>
54 reject/spot 0  not on contesthf/cw
55 reject/spot 1 on contesthf/data
56 reject/spot 2 call_dxcc w,ve
57
58 or
59
60 accept/spot 0 on contesthf/cw and not (call_dxcc 226,197 or on contesthf/data)
61
62 or
63
64 accept/spot 0 on contesthf/cw and not (call_dxcc w,ve or on contesthf/data)
65 </PRE>
66 </CODE></BLOCKQUOTE>
67 </P>
68 <P>The following two discussions are from the Administrator Manual and are good 
69 "textbook" examples: </P>
70 <P>
71 <BLOCKQUOTE><CODE>
72 <PRE>
73 rej/spot on hf/cw
74 acc/spot on 0/30000
75 acc/spot 2 on 50000/1400000 and (by_zone 14,15,16 or call_zone 14,15,16)
76 </PRE>
77 </CODE></BLOCKQUOTE>
78 </P>
79 <P>Note that accept and reject can be abbreviated. Also, the first filter has not 
80 been specified with a number. This will automatically be assumed to be number 1.
81 In this case, we have said to reject all HF spots in the CW section of the bands
82 but accept all others at HF. Also accept anything in VHF and above that is 
83 spotted in or by operators in the zones 14, 15 and 16. Each filter slot actually
84 has a 'reject' rule slot and an 'accept' rule slot. The reject rule slot is 
85 executed BEFORE the accept rule slot. </P>
86
87 <P>It was mentioned earlier that after a reject test that doesn't match, the 
88 default for following tests is 'accept', the reverse is true for 'accept'. In 
89 the example what happens is that the reject is executed first, any non hf/cw 
90 spot is passed to the accept line, which lets through everything else on HF. 
91 The next filter line lets through just VHF/UHF spots from EU. </P>
92
93 <P>If you set a reject filter like this ... </P>
94 <P>
95 <BLOCKQUOTE><CODE>
96 <PRE>
97 reject/spots on hf/cw
98 </PRE>
99 </CODE></BLOCKQUOTE>
100 </P>
101 <P>Then you will get everything except HF CW spots. You could make this single 
102 filter even more flexible. For example, if you are interested in IOTA and will 
103 work it on CW even though normally you are not interested in CW, then you could 
104 say ...</P>
105 <P>
106 <BLOCKQUOTE><CODE>
107 <PRE>
108 reject/spots on hf/cw and not info iota
109 </PRE>
110 </CODE></BLOCKQUOTE>
111 </P>
112 <P>But in that case you might only be interested in iota and say,</P>
113 <P>
114 <BLOCKQUOTE><CODE>
115 <PRE>
116 accept/spots not on hf/cw or info iota
117 </PRE>
118 </CODE></BLOCKQUOTE>
119 </P>
120 <P>which achieves exactly the same thing.  Note that since slot numbers were 
121 not used, slot 1 is assumed.</P>
122
123 <HR>
124 <A HREF="filtering_en-10.html">Next</A>
125 <A HREF="filtering_en-8.html">Previous</A>
126 <A HREF="filtering_en.html#toc9">Contents</A>
127 </BODY>
128 </HTML>