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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx/doc/localRules.html@793
Revision 793, 6.4 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 localRules</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>localRules</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/localRules.py">/usr/local/dx-0.1.1/localRules.py</a></font></td></tr></table>
12    <p><tt>localRules.py<br>
13=============<br>
14&nbsp;<br>
15A&nbsp;module&nbsp;to&nbsp;hold&nbsp;any&nbsp;python&nbsp;objects&nbsp;that&nbsp;are&nbsp;specific&nbsp;to&nbsp;your&nbsp;build.<br>
16&nbsp;<br>
17The&nbsp;default&nbsp;holds&nbsp;nothing&nbsp;but&nbsp;you&nbsp;might&nbsp;need&nbsp;to&nbsp;add&nbsp;items&nbsp;to&nbsp;satisfy&nbsp;your<br>
18own&nbsp;system.</tt></p>
19<p>
20<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
21<tr bgcolor="#aa55cc">
22<td colspan=3 valign=bottom>&nbsp;<br>
23<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
24   
25<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
26<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
27</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
28</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
29<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
30<tr bgcolor="#ee77aa">
31<td colspan=3 valign=bottom>&nbsp;<br>
32<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
33   
34<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
35<td width="100%"><dl>
36<dt><font face="helvetica, arial"><a href="localRules.html#MakeAccessControlFile">MakeAccessControlFile</a>
37</font></dt></dl>
38 <p>
39<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
40<tr bgcolor="#ffc8d8">
41<td colspan=3 valign=bottom>&nbsp;<br>
42<font color="#000000" face="helvetica, arial"><a name="MakeAccessControlFile">class <strong>MakeAccessControlFile</strong></a></font></td></tr>
43   
44<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
45<td colspan=2><tt><a href="#MakeAccessControlFile">MakeAccessControlFile</a>&nbsp;class&nbsp;-&nbsp;creates&nbsp;BADC-specific&nbsp;access&nbsp;control<br>
46file.<br>&nbsp;</tt></td></tr>
47<tr><td>&nbsp;</td>
48<td width="100%">Methods defined here:<br>
49<dl><dt><a name="MakeAccessControlFile-__init__"><strong>__init__</strong></a>(self, username, dir)</dt><dd><tt>__init__&nbsp;method&nbsp;-&nbsp;creates&nbsp;a&nbsp;BADC&nbsp;access&nbsp;control&nbsp;file.</tt></dd></dl>
50
51</td></tr></table></td></tr></table><p>
52<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
53<tr bgcolor="#55aa55">
54<td colspan=3 valign=bottom>&nbsp;<br>
55<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
56   
57<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
58<td width="100%"><strong>ADMIN_MAIL_ADDRESS</strong> = 'badc@rl.ac.uk'<br>
59<strong>ADMIN_NOTIFICATION</strong> = 0<br>
60<strong>BASEDIR</strong> = '/usr/local/dx_wv'<br>
61<strong>CDAT_BIN_PATH</strong> = '/usr/local/cdat/bin'<br>
62<strong>CF_METADATA_GLOBAL_ATTRIBUTES</strong> = ['Conventions', 'title', 'source', 'institution', 'history', 'references', 'comment']<br>
63<strong>CGI_NAME</strong> = 'http://localhost/cgi-bin/dxui-0.1.1.py'<br>
64<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>
65<strong>DATASET_GROUPS</strong> = {'Test Data Group 1': None, 'Test Data Group 2': None, 'Test Data Group 3': None}<br>
66<strong>DEBUG</strong> = 1<br>
67<strong>DOMAIN_PARAMS</strong> = ('start_time', 'end_time', 'time_interval', 'horiz_domain', 'resolution', 'vertical_units', 'vertical_domain', 'output_type')<br>
68<strong>EXTRAS_DIR</strong> = '/dx_extra'<br>
69<strong>HORIZ_KEYS</strong> = ('northernExtent', 'easternExtent', 'southernExtent', 'westernExtent')<br>
70<strong>HTML_DIR</strong> = '/usr/local/dx_wv/html'<br>
71<strong>HTTP_HEADER</strong> = 'Content-Type: text/html<font color="#c040c0">\n\n</font>'<br>
72<strong>HTTP_OUTPUT_DIR</strong> = 'http://localhost/output'<br>
73<strong>LEFT_LOGO</strong> = 'dx_logo.jpg'<br>
74<strong>LOCAL_CGI_NAME</strong> = '/srv/www/cgi-bin/dxui-0.1.1.py'<br>
75<strong>LOCAL_MAIL_HOST</strong> = 'outbox.rl.ac.uk'<br>
76<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>
77<strong>LOCAL_RULES</strong> = 0<br>
78<strong>LOGO_DIR</strong> = '/dx_extra/logos'<br>
79<strong>MAP_APPLET</strong> = '/dx_extra/LiveMap_30/extractorMap.html'<br>
80<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>
81<strong>OUTPUT_DIR</strong> = '/srv/www/htdocs/output'<br>
82<strong>OUTPUT_DIR_PERMISSION</strong> = 488<br>
83<strong>OUTPUT_FILE_GROUP</strong> = 'users'<br>
84<strong>OUTPUT_FILE_PERMISSION</strong> = 416<br>
85<strong>OUTPUT_FILE_USER</strong> = 'wwwrun'<br>
86<strong>OUTPUT_FORMATS</strong> = ['NetCDF']<br>
87<strong>PACKAGE_NAME</strong> = 'Data Extractor'<br>
88<strong>REGISTRATION_PAGE</strong> = 'http://badc.nerc.ac.uk/data/list_all_datasets.html?source=home'<br>
89<strong>REQUEST_DIR</strong> = '/usr/local/dx_wv/requests'<br>
90<strong>REQUEST_SIZE_LIMIT</strong> = 100<br>
91<strong>RESTRICTED_DATA</strong> = 0<br>
92<strong>RIGHT_LOGO</strong> = 'dx_logo.jpg'<br>
93<strong>STAGES</strong> = ['DatasetGroupPage', 'DatasetPage', 'VariablesPage', 'DomainPage', 'ResultsPage']<br>
94<strong>TIME_KEYS</strong> = ('year', 'month', 'day', 'hour', 'min', 'sec')<br>
95<strong>TIMING_SCALE_FACTOR</strong> = 0.001<br>
96<strong>USER_HOMEDIR</strong> = '/var/lib/wwwrun'<br>
97<strong>VISUALISOR_NAME</strong> = '/cgi-bin/splatui-0.1.1.py'</td></tr></table>
98</body></html>
Note: See TracBrowser for help on using the repository browser.