NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/spongenet/trunk/spongenet/tests/query/bad_config.py

Revision 380 (checked in by cbc, 14 years ago)

More work on CSV creation framework.

Line 
1 #!/usr/bin/env python
2
3 """Bad test configuration for the query module."""
4
5 import os
6
7 QUERY_TEST_PATH = os.path.join("tests", "query")
8
9 NCDIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),
10                      QUERY_TEST_PATH, "nc")
11 CSVDIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),
12                       QUERY_TEST_PATH, "csv")
13 # The next line has a SyntaxError
14 NCFILE_PATTERN = "%(location)s_%(platform)s_%(package)s_" \
15                  "[0-9][0-9][0-9][0-9]_[0-9][0-9].nc
16 CSVFILE_PATTERN = "%(location)s_%(platform)s_%(month)s.csv"
17 LOCATION = "location"
18 PLATFORM = "platform"
19 PACKAGES = (('system', ('voltage',
20                         'memory',
21                         'interval', )),
22             ('turbidity', ('turbidity', )),
23             ('optode_127', ('o2concentration',
24                             'airsaturation',
25                             'temperature',
26                             'calphase',
27                             'tcphase',
28                             'c1rph',
29                             'c2rph',
30                             'c1amp',
31                             'c2amp',
32                             'rawtemp', )),
33             ('optode_167', ('o2concentration',
34                             'airsaturation',
35                             'temperature',
36                             'calphase',
37                             'tcphase',
38                             'c1rph',
39                             'c2rph',
40                             'c1amp',
41                             'c2amp',
42                             'rawtemp', )),
43             ('optode_169', ('o2concentration',
44                             'airsaturation',
45                             'temperature',
46                             'calphase',
47                             'tcphase',
48                             'c1rph',
49                             'c2rph',
50                             'c1amp',
51                             'c2amp',
52                             'rawtemp', )),
53             ('optode_170', ('o2concentration',
54                             'airsaturation',
55                             'temperature',
56                             'calphase',
57                             'tcphase',
58                             'c1rph',
59                             'c2rph',
60                             'c1amp',
61                             'c2amp',
62                             'rawtemp', )),
63             ('optode_171', ('o2concentration',
64                             'airsaturation',
65                             'temperature',
66                             'calphase',
67                             'tcphase',
68                             'c1rph',
69                             'c2rph',
70                             'c1amp',
71                             'c2amp',
72                             'rawtemp', )),
73             ('optode_172', ('o2concentration',
74                             'airsaturation',
75                             'temperature',
76                             'calphase',
77                             'tcphase',
78                             'c1rph',
79                             'c2rph',
80                             'c1amp',
81                             'c2amp',
82                             'rawtemp', )),
83             ('optode_173', ('o2concentration',
84                             'airsaturation',
85                             'temperature',
86                             'calphase',
87                             'tcphase',
88                             'c1rph',
89                             'c2rph',
90                             'c1amp',
91                             'c2amp',
92                             'rawtemp', )),
93             ('optode_175', ('o2concentration',
94                             'airsaturation',
95                             'temperature',
96                             'calphase',
97                             'tcphase',
98                             'c1rph',
99                             'c2rph',
100                             'c1amp',
101                             'c2amp',
102                             'rawtemp', )),
103             ('optode_176', ('o2concentration',
104                             'airsaturation',
105                             'temperature',
106                             'calphase',
107                             'tcphase',
108                             'c1rph',
109                             'c2rph',
110                             'c1amp',
111                             'c2amp',
112                             'rawtemp', )),
113             ('optode_178', ('o2concentration',
114                             'airsaturation',
115                             'temperature',
116                             'calphase',
117                             'tcphase',
118                             'c1rph',
119                             'c2rph',
120                             'c1amp',
121                             'c2amp',
122                             'rawtemp', )),
123             ('optode_179', ('o2concentration',
124                             'airsaturation',
125                             'temperature',
126                             'calphase',
127                             'tcphase',
128                             'c1rph',
129                             'c2rph',
130                             'c1amp',
131                             'c2amp',
132                             'rawtemp', )),
133             ('conductivity', ('conductivity',
134                               'temperature', )),
135             ('pressure', ('pressure',
136                           'temperature', )),
137             ('current', ('abs_speed',
138                          'direction',
139                          'v',
140                          'u',
141                          'heading',
142                          'tiltx',
143                          'tilty',
144                          'std_speed',
145                          'strength',
146                          'pings', )),
147            )
Note: See TracBrowser for help on using the browser.