source: TI03-DataExtractor/branches/old_stuff/dx/doc/config.html @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx/doc/config.html@793
Revision 793, 4.8 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
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module config</title>
4</head><body bgcolor="#f0f0f8">
5
6<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7<tr bgcolor="#7799ee">
8<td valign=bottom>&nbsp;<br>
9<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>config</strong></big></big></font></td
10><td align=right valign=bottom
11><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/dx-0.1.1/config.py">/usr/local/dx-0.1.1/config.py</a></font></td></tr></table>
12    <p><tt>config.py<br>
13=========<br>
14&nbsp;<br>
15Holds&nbsp;the&nbsp;main&nbsp;configuration&nbsp;details&nbsp;that&nbsp;must&nbsp;be&nbsp;set&nbsp;up&nbsp;in&nbsp;order<br>
16for&nbsp;a&nbsp;version&nbsp;of&nbsp;dx&nbsp;to&nbsp;run&nbsp;on&nbsp;a&nbsp;new&nbsp;machine.<br>
17&nbsp;<br>
18Each&nbsp;option&nbsp;below&nbsp;is&nbsp;documented&nbsp;to&nbsp;guide&nbsp;the&nbsp;user&nbsp;through&nbsp;setting&nbsp;<br>
19up&nbsp;the&nbsp;interface.<br>
20&nbsp;<br>
21All&nbsp;these&nbsp;global&nbsp;variables&nbsp;are&nbsp;used&nbsp;in&nbsp;various&nbsp;parts&nbsp;of&nbsp;the&nbsp;dx<br>
22package.&nbsp;For&nbsp;consistency&nbsp;they&nbsp;are&nbsp;all&nbsp;CAPITALISED.</tt></p>
23<p>
24<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
25<tr bgcolor="#aa55cc">
26<td colspan=3 valign=bottom>&nbsp;<br>
27<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
28   
29<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
30<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
31</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
32<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
33<tr bgcolor="#55aa55">
34<td colspan=3 valign=bottom>&nbsp;<br>
35<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
36   
37<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
38<td width="100%"><strong>ADMIN_MAIL_ADDRESS</strong> = 'badc@rl.ac.uk'<br>
39<strong>ADMIN_NOTIFICATION</strong> = 0<br>
40<strong>BASEDIR</strong> = '/usr/local/dx_wv'<br>
41<strong>CDAT_BIN_PATH</strong> = '/usr/local/cdat/bin'<br>
42<strong>CF_METADATA_GLOBAL_ATTRIBUTES</strong> = {'comments': 'Created by test data extractor.'}<br>
43<strong>CGI_NAME</strong> = 'http://localhost/cgi-bin/dxui-0.1.1.py'<br>
44<strong>DATASETS</strong> = {'Test Data Group 1': (('Test Dataset 1', '/usr/local/dx_wv/testdata/testdata1.xml', 'dataset1-unused-code'),), 'Test Data Group 2': (('Test Dataset 2', '/usr/local/dx_wv/testdata/testdata2.xml', 'dataset2-unused-code'),), 'Test Data Group 3': (('Test Dataset 3', '/usr/local/dx_wv/testdata/testdata3.xml', 'dataset3-unused-code'),)}<br>
45<strong>DATASET_GROUPS</strong> = {'Test Data Group 1': None, 'Test Data Group 2': None, 'Test Data Group 3': None}<br>
46<strong>DEBUG</strong> = 1<br>
47<strong>EXTRAS_DIR</strong> = '/dx_extra'<br>
48<strong>HTML_DIR</strong> = '/usr/local/dx_wv/html'<br>
49<strong>HTTP_OUTPUT_DIR</strong> = 'http://localhost/output'<br>
50<strong>LEFT_LOGO</strong> = 'dx_logo.jpg'<br>
51<strong>LOCAL_CGI_NAME</strong> = '/srv/www/cgi-bin/dxui-0.1.1.py'<br>
52<strong>LOCAL_MAIL_HOST</strong> = 'outbox.rl.ac.uk'<br>
53<strong>LOCAL_PYTHONPATH</strong> = ['/usr/local/badcdat/lib', '/usr/local/badcdat/lib/python', '/home/tornado/internal/badc/software/pythonlib/badc', '/usr/local/cdat/lib/python2.3', '/usr/local/cdat/lib/python2.3/site-packages', '/usr/local/cdat/lib/python2.3/site-packages/Numeric']<br>
54<strong>LOCAL_RULES</strong> = 0<br>
55<strong>LOGO_DIR</strong> = '/dx_extra/logos'<br>
56<strong>MAP_APPLET</strong> = '/dx_extra/LiveMap_30/extractorMap.html'<br>
57<strong>MESSAGE_TO_USERS</strong> = 'This is a test version of the Data Extractor so ...error occurs so that we can improve this service.'<br>
58<strong>OUTPUT_DIR</strong> = '/srv/www/htdocs/output'<br>
59<strong>OUTPUT_DIR_PERMISSION</strong> = 488<br>
60<strong>OUTPUT_FILE_GROUP</strong> = 'users'<br>
61<strong>OUTPUT_FILE_PERMISSION</strong> = 416<br>
62<strong>OUTPUT_FILE_USER</strong> = 'wwwrun'<br>
63<strong>OUTPUT_FORMATS</strong> = ['NetCDF']<br>
64<strong>PACKAGE_NAME</strong> = 'Data Extractor'<br>
65<strong>REGISTRATION_PAGE</strong> = 'http://badc.nerc.ac.uk/data/list_all_datasets.html?source=home'<br>
66<strong>REQUEST_DIR</strong> = '/usr/local/dx_wv/requests'<br>
67<strong>REQUEST_SIZE_LIMIT</strong> = 100<br>
68<strong>RESTRICTED_DATA</strong> = 0<br>
69<strong>RIGHT_LOGO</strong> = 'dx_logo.jpg'<br>
70<strong>TIMING_SCALE_FACTOR</strong> = 0.001<br>
71<strong>USER_HOMEDIR</strong> = '/var/lib/wwwrun'<br>
72<strong>VISUALISOR_NAME</strong> = '/cgi-bin/splatui-0.1.1.py'</td></tr></table>
73</body></html>
Note: See TracBrowser for help on using the repository browser.