source: TI03-DataExtractor/branches/old_stuff/dx_badc/shared_data.py @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx_badc/shared_data.py@793
Revision 793, 1.1 KB checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

  • Property svn:executable set to *
Line 
1"""
2shared_data.py
3============
4
5Data module for the extractor package.
6
7This module holds the global variables used throughout
8the package.
9
10Version history
11===============
12
13Version 1.0:  - 01/03/2004
14              - Ag Stephens, British Atmospheric Data Centre.
15              - First version.
16
17"""
18
19import os
20
21class RedirectStdout:
22
23    def write(self, item):
24         pass
25
26basedir="/usr/local/dx_badc"
27
28request_dir=os.path.join(basedir, "requests")
29
30html_dir=os.path.join(basedir, "html")
31
32extras_dir="/dx_extras"
33
34dataset_dir=os.path.join(basedir, "datasets")
35
36output_dir=("/var/www/html/nctemp")
37
38visualisor="http://titania.badc.rl.ac.uk/cgi-bin/visualisor.py"
39
40map_applet="http://titania.badc.rl.ac.uk/dx_extra/LiveMap_30/extractorMap.html"
41
42pages=["DatasetPage", "SubsetPage", "VariablesPage", "DomainPage", "ResultsPage"]
43
44domainParams=("start_time", "end_time", "time_interval", "horiz_domain", 
45                      "resolution", "vertical_units", "vertical_domain", 
46                       "output_type")
47
48time_keys=("year", "month", "day", "hour", "min", "sec")
49
50horiz_keys=("north", "east", "south", "west")
Note: See TracBrowser for help on using the repository browser.