Revision 378
(checked in by cbc, 14 years ago)
|
Begin CSV query framework.
|
Line | |
---|
1 |
#!/usr/bin/env python |
---|
2 |
|
---|
3 |
"""Incomplete 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 |
NCFILE_PATTERN = "%(location)s_%(platform)s_%(package)s_" \ |
---|
14 |
"[0-9][0-9][0-9][0-9]_[0-9][0-9].nc" |
---|
15 |
CSVFILE_PATTERN = "%(location)s_%(platform)s_%(package)s_" \ |
---|
16 |
"[0-9][0-9][0-9][0-9]_[0-9][0-9].csv" |
---|
17 |
LOCATION = "location" |
---|
18 |
PLATFORM = "platform" |
---|
19 |
PACKAGES = ('system', |
---|
20 |
'turbidity', |
---|
21 |
'optode_127', |
---|
22 |
'optode_167', |
---|
23 |
'optode_169', |
---|
24 |
'optode_170', |
---|
25 |
'optode_171', |
---|
26 |
'optode_172', |
---|
27 |
'optode_173', |
---|
28 |
'optode_175', |
---|
29 |
'optode_176', |
---|
30 |
'optode_178', |
---|
31 |
'optode_179', |
---|
32 |
'conductivity', |
---|
33 |
'pressure', |
---|
34 |
'current', |
---|
35 |
) |
---|