source: TI03-DataExtractor/branches/old_stuff/dx_source/for_usr_local/dx/doc/dxWebServiceInterface.html @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx_source/for_usr_local/dx/doc/dxWebServiceInterface.html@793
Revision 793, 18.6 KB checked in by astephen, 14 years ago (diff)

Put all the old code in the old_stuff branch.

RevLine 
[793]1
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module dxWebServiceInterface</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>dxWebServiceInterface</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/dxWebServiceInterface.py">/usr/local/dx-0.1.1/dxWebServiceInterface.py</a></font></td></tr></table>
12    <p><tt>dxWebServiceInterface.py<br>
13========================<br>
14&nbsp;<br>
15A&nbsp;web&nbsp;service&nbsp;wrapper&nbsp;around&nbsp;the&nbsp;entire&nbsp;DataExtractor.<br>
16&nbsp;<br>
17Wraps&nbsp;the&nbsp;dx&nbsp;functionality&nbsp;into&nbsp;the&nbsp;following&nbsp;Web&nbsp;Services:<br>
18&nbsp;<br>
19-&nbsp;<a href="#-callControlExtractClass">callControlExtractClass</a>(args)<br>
20&nbsp;<br>
21-&nbsp;<a href="#-startSession">startSession</a>(username=None,&nbsp;password=None,&nbsp;secureToken=None)<br>
22&nbsp;<br>
23-&nbsp;<a href="#-getOptions">getOptions</a>(sessionID,&nbsp;secureToken=None)<br>
24&nbsp;<br>
25-&nbsp;<a href="#-selectOptions">selectOptions</a>(sessionID,&nbsp;opt_1,&nbsp;opt_2,&nbsp;...,opt_n,&nbsp;secureToken=None)<br>
26&nbsp;<br>
27-&nbsp;<a href="#-numberOfDatasets">numberOfDatasets</a>(sessionID,&nbsp;n,&nbsp;secureToken=None)<br>
28&nbsp;<br>
29-&nbsp;<a href="#-summariseRequest">summariseRequest</a>(sessionID,&nbsp;secureToken=None)<br>
30&nbsp;<br>
31-&nbsp;<a href="#-isComplete">isComplete</a>(sessionID,&nbsp;secureToken=None)<br>
32&nbsp;<br>
33-&nbsp;<a href="#-getDataSubsetSpecifier">getDataSubsetSpecifier</a>(sessionID,&nbsp;secureToken=None)&nbsp;&nbsp;#&nbsp;This&nbsp;returns&nbsp;XML<br>
34&nbsp;<br>
35-&nbsp;<a href="#-getExtractionCosts">getExtractionCosts</a>(sessionID,&nbsp;secureToken=None)<br>
36&nbsp;<br>
37-&nbsp;<a href="#-extractData">extractData</a>(sessionID,&nbsp;secureToken=None)&nbsp;&nbsp;#&nbsp;This&nbsp;extracts&nbsp;actual&nbsp;data<br>
38&nbsp;<br>
39-&nbsp;<a href="#-newRequest">newRequest</a>(sessionID,&nbsp;secureToken=None)<br>
40&nbsp;<br>
41&nbsp;<br>
42Notes&nbsp;about&nbsp;the&nbsp;sessionID&nbsp;and&nbsp;secureToken&nbsp;object<br>
43------------------------------------------------<br>
44&nbsp;<br>
45The&nbsp;sessionID&nbsp;carries&nbsp;information&nbsp;about&nbsp;the&nbsp;current&nbsp;request&nbsp;but&nbsp;has&nbsp;no&nbsp;security<br>
46implications.&nbsp;It&nbsp;is&nbsp;simply&nbsp;a&nbsp;way&nbsp;for&nbsp;the&nbsp;server&nbsp;to&nbsp;keep&nbsp;track&nbsp;of&nbsp;the&nbsp;request&nbsp;<br>
47between&nbsp;calls.<br>
48&nbsp;<br>
49The&nbsp;secureToken&nbsp;is&nbsp;an&nbsp;encoded&nbsp;security&nbsp;object&nbsp;that&nbsp;is&nbsp;time&nbsp;limited&nbsp;and&nbsp;provides<br>
50information&nbsp;on&nbsp;what&nbsp;the&nbsp;user&nbsp;is&nbsp;allowed&nbsp;to&nbsp;access&nbsp;on&nbsp;the&nbsp;server.&nbsp;Some&nbsp;dx&nbsp;servers<br>
51do&nbsp;not&nbsp;run&nbsp;security&nbsp;and&nbsp;so&nbsp;just&nbsp;send&nbsp;around&nbsp;a&nbsp;None&nbsp;type&nbsp;as&nbsp;the&nbsp;secureToken.&nbsp;Those<br>
52implementing&nbsp;security&nbsp;will&nbsp;require&nbsp;that&nbsp;the&nbsp;secureToken&nbsp;(held&nbsp;in&nbsp;a&nbsp;string)&nbsp;is&nbsp;sent<br>
53with&nbsp;each&nbsp;call&nbsp;to&nbsp;the&nbsp;dx.&nbsp;During&nbsp;each&nbsp;call&nbsp;it&nbsp;will&nbsp;updated&nbsp;(to&nbsp;ensure&nbsp;it&nbsp;remains&nbsp;<br>
54time&nbsp;valid)&nbsp;and&nbsp;returned.<br>
55&nbsp;<br>
56&nbsp;<br>
57&nbsp;<br>
58#############&nbsp;THE&nbsp;FOLLOWING&nbsp;MIGHT&nbsp;BE&nbsp;IMPLEMENTED&nbsp;IN&nbsp;FUTURE&nbsp;#############<br>
59getDatasetGroupOptions(sessionID,&nbsp;secureToken=None)<br>
60&nbsp;<br>
61selectDatasetGroups(sessionID,&nbsp;datasetGroup_1,&nbsp;datasetGroup_2,&nbsp;...,&nbsp;datasetGroup_n,&nbsp;secureToken=None)<br>
62&nbsp;<br>
63getDatasetOptions(sessionID,&nbsp;secureToken=None)<br>
64&nbsp;<br>
65selectDatasets(sessionID,&nbsp;dataset_1,&nbsp;dataset_2,&nbsp;...,&nbsp;dataset_n,&nbsp;secureToken=None)<br>
66&nbsp;<br>
67getVariableOptions(sessionID,&nbsp;secureToken=None)<br>
68&nbsp;<br>
69selectVariables(sessionID,&nbsp;variable_1,&nbsp;variable_2,&nbsp;...,&nbsp;variable_n,&nbsp;secureToken=None)<br>
70&nbsp;<br>
71getHorizontalDomainOptions(sessionID,&nbsp;secureToken=None)<br>
72&nbsp;<br>
73selectHorizontalDomain(sessionID,&nbsp;northernExtent,&nbsp;westernExtent,<br>
74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;easternExtent,&nbsp;southernExtent,&nbsp;secureToken=None)<br>
75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
76getVerticalDomainOptions(sessionID,&nbsp;secureToken=None)<br>
77&nbsp;<br>
78selectVerticalDomain(sessionID,&nbsp;verticalDomain_1,&nbsp;verticalDomain_2,&nbsp;...,&nbsp;<br>
79&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;verticalDomain_n,&nbsp;secureToken=None)<br>
80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
81getTemporalDomainOptions(sessionID,&nbsp;secureToken=None)<br>
82&nbsp;<br>
83selectTemporalDomainOptions(sessionID,&nbsp;startTime_1,&nbsp;endTime_1,&nbsp;startTime_2,&nbsp;endTime_2,<br>
84&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...,&nbsp;startTime_n,&nbsp;endTime_n,&nbsp;secureToken=None)<br>
85&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Note&nbsp;that&nbsp;times&nbsp;are&nbsp;expressed&nbsp;as:&nbsp;"YYYY-MM-DD&nbsp;hh:mm:ss"&nbsp;or&nbsp;minimally&nbsp;as&nbsp;"YYYY"<br>
86&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;which&nbsp;convert&nbsp;to&nbsp;"YYYY-01-01&nbsp;00:00:00".<br>
87&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
88getOutputFormatOptions(sessionID,&nbsp;secureToken=None)<br>
89&nbsp;<br>
90selectOutputFormat(sessionID,&nbsp;outputFormat,&nbsp;secureToken=None)</tt></p>
91<p>
92<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
93<tr bgcolor="#aa55cc">
94<td colspan=3 valign=bottom>&nbsp;<br>
95<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
96   
97<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
98<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="cgi.html">cgi</a><br>
99<a href="commands.html">commands</a><br>
100<a href="dx.common.html">dx.common</a><br>
101<a href="dx.config.html">dx.config</a><br>
102<a href="dx.datasetdb.html">dx.datasetdb</a><br>
103<a href="dx.dxdmlHandler.html">dx.dxdmlHandler</a><br>
104<a href="dxrmlHandler.html">dxrmlHandler</a><br>
105</td><td width="25%" valign=top><a href="dx.errorHandler.html">dx.errorHandler</a><br>
106<a href="dx.extractMetadata.html">dx.extractMetadata</a><br>
107<a href="dx.localRules.html">dx.localRules</a><br>
108<a href="dx.mailUser.html">dx.mailUser</a><br>
109<a href="dx.optionHandler.html">dx.optionHandler</a><br>
110<a href="os.html">os</a><br>
111<a href="dx.products.html">dx.products</a><br>
112</td><td width="25%" valign=top><a href="re.html">re</a><br>
113<a href="dx.request.html">dx.request</a><br>
114<a href="dx.requestCost.html">dx.requestCost</a><br>
115<a href="dx.requestDict.html">dx.requestDict</a><br>
116<a href="dx.security.html">dx.security</a><br>
117<a href="smtplib.html">smtplib</a><br>
118<a href="string.html">string</a><br>
119</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
120<a href="time.html">time</a><br>
121<a href="dx.times.html">dx.times</a><br>
122<a href="types.html">types</a><br>
123<a href="urllib.html">urllib</a><br>
124<a href="dx.validate.html">dx.validate</a><br>
125</td></tr></table></td></tr></table><p>
126<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
127<tr bgcolor="#eeaa77">
128<td colspan=3 valign=bottom>&nbsp;<br>
129<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
130   
131<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
132<td width="100%"><dl><dt><a name="-callControlExtractClass"><strong>callControlExtractClass</strong></a>(**args)</dt><dd><tt>Function&nbsp;wrapper&nbsp;to&nbsp;ControlExtract&nbsp;class.&nbsp;This&nbsp;can&nbsp;be&nbsp;called&nbsp;directly<br>
133to&nbsp;perform&nbsp;all&nbsp;operations&nbsp;or&nbsp;the&nbsp;other&nbsp;Web&nbsp;Services&nbsp;can&nbsp;be&nbsp;called&nbsp;in<br>
134the&nbsp;appropriate&nbsp;order.</tt></dd></dl>
135 <dl><dt><a name="-extractData"><strong>extractData</strong></a>(sessionID, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Extracts&nbsp;the&nbsp;actual&nbsp;data&nbsp;you&nbsp;specified&nbsp;in&nbsp;the&nbsp;request.&nbsp;It&nbsp;writes&nbsp;these&nbsp;files<br>
136locally&nbsp;and&nbsp;returns&nbsp;a&nbsp;list&nbsp;of&nbsp;paths&nbsp;to&nbsp;the&nbsp;data&nbsp;as&nbsp;either&nbsp;FTP&nbsp;or&nbsp;HTTP&nbsp;<br>
137locations.&nbsp;<br>
138Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;paths&nbsp;and&nbsp;a&nbsp;security&nbsp;token.</tt></dd></dl>
139 <dl><dt><a name="-getDataSubsetSpecifier"><strong>getDataSubsetSpecifier</strong></a>(sessionID, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;dataSubsetSpecifier&nbsp;XML&nbsp;document&nbsp;(which&nbsp;might&nbsp;be&nbsp;S-metadata)<br>
140required&nbsp;by&nbsp;a&nbsp;Delivery&nbsp;Service&nbsp;to&nbsp;describe&nbsp;the&nbsp;subset&nbsp;requested,&nbsp;and&nbsp;a<br>
141security&nbsp;token.</tt></dd></dl>
142 <dl><dt><a name="-getExtractionCosts"><strong>getExtractionCosts</strong></a>(sessionID, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;an&nbsp;estimated&nbsp;duration&nbsp;for&nbsp;the&nbsp;creation&nbsp;of&nbsp;the&nbsp;output&nbsp;data&nbsp;and&nbsp;the&nbsp;<br>
143estimated&nbsp;volume&nbsp;of&nbsp;the&nbsp;output.</tt></dd></dl>
144 <dl><dt><a name="-getOptions"><strong>getOptions</strong></a>(sessionID, secureToken<font color="#909090">=None</font>, optionCategoryRequested<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;category&nbsp;description&nbsp;of&nbsp;the&nbsp;next&nbsp;set&nbsp;of&nbsp;options&nbsp;(or&nbsp;the&nbsp;option&nbsp;category&nbsp;<br>
145requested&nbsp;by&nbsp;the&nbsp;user),&nbsp;a&nbsp;list&nbsp;of&nbsp;options&nbsp;based&nbsp;<br>
146on&nbsp;what&nbsp;the&nbsp;user&nbsp;has&nbsp;yet&nbsp;to&nbsp;request,&nbsp;a&nbsp;string&nbsp;explaining&nbsp;some&nbsp;more&nbsp;about&nbsp;this&nbsp;and&nbsp;a<br>
147security&nbsp;token.<br>
148&nbsp;<br>
149The&nbsp;options&nbsp;will&nbsp;be&nbsp;presented&nbsp;following&nbsp;the&nbsp;heirarchy:<br>
150&nbsp;&nbsp;&nbsp;&nbsp;DatasetGroups<br>
151&nbsp;&nbsp;&nbsp;&nbsp;Datasets<br>
152&nbsp;&nbsp;&nbsp;&nbsp;Variables<br>
153&nbsp;&nbsp;&nbsp;&nbsp;HorizontalDomain<br>
154&nbsp;&nbsp;&nbsp;&nbsp;VerticalDomain<br>
155&nbsp;&nbsp;&nbsp;&nbsp;TemporalDomain<br>
156&nbsp;&nbsp;&nbsp;&nbsp;OutputFormat</tt></dd></dl>
157 <dl><dt><a name="-isComplete"><strong>isComplete</strong></a>(sessionID, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;1&nbsp;if&nbsp;the&nbsp;request&nbsp;is&nbsp;complete&nbsp;(i.e.&nbsp;ready&nbsp;for&nbsp;extraction)<br>
158and&nbsp;0&nbsp;if&nbsp;not.&nbsp;Also&nbsp;returns&nbsp;a&nbsp;security&nbsp;token.</tt></dd></dl>
159 <dl><dt><a name="-newRequest"><strong>newRequest</strong></a>(sessionID, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Deletes&nbsp;content&nbsp;of&nbsp;current&nbsp;request.<br>
160Returns&nbsp;the&nbsp;sessionID&nbsp;and&nbsp;the&nbsp;security&nbsp;token..</tt></dd></dl>
161 <dl><dt><a name="-numberOfDatasets"><strong>numberOfDatasets</strong></a>(sessionID, n, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Re-selects&nbsp;the&nbsp;number&nbsp;of&nbsp;datasets&nbsp;the&nbsp;user&nbsp;wants&nbsp;to&nbsp;deal&nbsp;with&nbsp;in&nbsp;the&nbsp;request.<br>
162Default&nbsp;is&nbsp;1.<br>
163Returns&nbsp;1&nbsp;if&nbsp;successful&nbsp;and&nbsp;an&nbsp;errorString&nbsp;if&nbsp;not,&nbsp;as&nbsp;well&nbsp;as&nbsp;a&nbsp;security&nbsp;token.</tt></dd></dl>
164 <dl><dt><a name="-selectOptions"><strong>selectOptions</strong></a>(sessionID, **args)</dt><dd><tt>Makes&nbsp;a&nbsp;selection&nbsp;based&nbsp;on&nbsp;user&nbsp;requirements.&nbsp;This&nbsp;will&nbsp;typically&nbsp;follow&nbsp;a&nbsp;call<br>
165to&nbsp;<a href="#-getOptions">getOptions</a>()&nbsp;to&nbsp;find&nbsp;out&nbsp;what&nbsp;the&nbsp;options&nbsp;are.<br>
166Returns&nbsp;a&nbsp;call&nbsp;to&nbsp;<a href="#-getOptions">getOptions</a>()&nbsp;to&nbsp;grab&nbsp;the&nbsp;next&nbsp;set&nbsp;of&nbsp;options&nbsp;available&nbsp;to&nbsp;the&nbsp;<br>
167user.&nbsp;Alternatively,&nbsp;if&nbsp;it&nbsp;fails,&nbsp;an&nbsp;errorString&nbsp;is&nbsp;returned.</tt></dd></dl>
168 <dl><dt><a name="-serveAll"><strong>serveAll</strong></a>()</dt><dd><tt>Serves&nbsp;all&nbsp;functions&nbsp;via&nbsp;Web&nbsp;Services.</tt></dd></dl>
169 <dl><dt><a name="-startSession"><strong>startSession</strong></a>(username<font color="#909090">=None</font>, password<font color="#909090">=None</font>, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Logs&nbsp;a&nbsp;user&nbsp;into&nbsp;the&nbsp;dx&nbsp;and&nbsp;supplies&nbsp;them&nbsp;with&nbsp;a&nbsp;session&nbsp;ID&nbsp;as&nbsp;well<br>
170as&nbsp;an&nbsp;encoded&nbsp;security&nbsp;token.&nbsp;The&nbsp;session&nbsp;ID&nbsp;connects&nbsp;them&nbsp;to&nbsp;their<br>
171current&nbsp;request&nbsp;serverside&nbsp;whilst&nbsp;the&nbsp;security&nbsp;token&nbsp;is&nbsp;used&nbsp;to&nbsp;<br>
172authorise&nbsp;their&nbsp;access.</tt></dd></dl>
173 <dl><dt><a name="-summariseRequest"><strong>summariseRequest</strong></a>(sessionID, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;listing&nbsp;of&nbsp;the&nbsp;current&nbsp;request&nbsp;in&nbsp;a&nbsp;string&nbsp;and&nbsp;a&nbsp;security&nbsp;token.</tt></dd></dl>
174 <dl><dt><a name="-uploadRequest"><strong>uploadRequest</strong></a>(sessionID, requestXMLString, secureToken<font color="#909090">=None</font>)</dt><dd><tt>Allows&nbsp;the&nbsp;user&nbsp;to&nbsp;send&nbsp;a&nbsp;request&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;string&nbsp;containing&nbsp;the&nbsp;<br>
175contents&nbsp;of&nbsp;an&nbsp;XML&nbsp;file&nbsp;conforming&nbsp;to&nbsp;the&nbsp;dx&nbsp;request&nbsp;specification&nbsp;(not<br>
176yet&nbsp;written).&nbsp;This&nbsp;is&nbsp;also&nbsp;called&nbsp;a&nbsp;Data&nbsp;Subset&nbsp;Specifier.<br>
177This&nbsp;function&nbsp;parses&nbsp;the&nbsp;XML&nbsp;into&nbsp;a&nbsp;dictionary&nbsp;and&nbsp;then&nbsp;uploads&nbsp;the&nbsp;arguments.<br>
178Returns&nbsp;a&nbsp;status&nbsp;flag&nbsp;(1=success,&nbsp;None=failure)&nbsp;and&nbsp;the&nbsp;secure&nbsp;token.</tt></dd></dl>
179</td></tr></table><p>
180<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
181<tr bgcolor="#55aa55">
182<td colspan=3 valign=bottom>&nbsp;<br>
183<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
184   
185<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
186<td width="100%"><strong>ADMIN_MAIL_ADDRESS</strong> = 'yourmail@yourhost'<br>
187<strong>ADMIN_NOTIFICATION</strong> = 0<br>
188<strong>BASEDIR</strong> = '/usr/local/dx'<br>
189<strong>CDAT_BIN_PATH</strong> = '/usr/local/cdat/bin'<br>
190<strong>CF_METADATA_GLOBAL_ATTRIBUTES</strong> = {'comments': 'Created by test data extractor.'}<br>
191<strong>CF_METADATA_GLOBAL_ATTRIBUTE_KEYS</strong> = ['Conventions', 'title', 'source', 'institution', 'history', 'references', 'comment']<br>
192<strong>CGI_NAME</strong> = 'http://localhost/cgi-bin/dxui.py'<br>
193<strong>CONFIRMATION_PAGE</strong> = 1<br>
194<strong>DEBUG</strong> = 1<br>
195<strong>DOMAIN_PARAMS</strong> = ('start_time', 'end_time', 'time_interval', 'horiz_domain', 'resolution', 'vertical_units', 'vertical_domain', 'outputFormat')<br>
196<strong>EXTRAS_DIR</strong> = '/dx_extra'<br>
197<strong>HORIZ_KEYS</strong> = ['northernExtent', 'easternExtent', 'southernExtent', 'westernExtent']<br>
198<strong>HTML_DIR</strong> = '/usr/local/dx/html'<br>
199<strong>HTTP_HEADER</strong> = 'Content-Type: text/html<font color="#c040c0">\n\n</font>'<br>
200<strong>HTTP_OUTPUT_DIR</strong> = 'http://localhost/output'<br>
201<strong>HTTP_REQUEST_XML_DIR</strong> = 'http://localhost/request_xmls'<br>
202<strong>INPUT_DATASETS_FILE</strong> = '/usr/local/dx/datasets/inputDatasets.xml'<br>
203<strong>LEFT_LOGO</strong> = 'dx_logo.jpg'<br>
204<strong>LOCAL_CGI_NAME</strong> = '/srv/www/cgi-bin/cgiInterface.py'<br>
205<strong>LOCAL_MAIL_HOST</strong> = 'youroutbox.yourdomain'<br>
206<strong>LOCAL_PYTHONPATH</strong> = ['YOUR_CDAT/lib/python2.4', 'YOUR_CDAT/lib/python2.4/site-packages', 'YOUR_CDAT/cdat/lib/python2.4/site-packages/Numeric', 'YOUR_CDAT/lib/python2.3', 'YOUR_CDAT/lib/python2.3/site-packages', 'YOUR_CDAT/cdat/lib/python2.3/site-packages/Numeric']<br>
207<strong>LOCAL_RULES</strong> = 0<br>
208<strong>LOGO_DIR</strong> = '/dx_extra/logos'<br>
209<strong>MAP_APPLET</strong> = '/dx_extra/LiveMap_30/extractorMap.html'<br>
210<strong>MAX_FILE_SIZE</strong> = 1<br>
211<strong>MAX_NUM_DATASETS</strong> = 2<br>
212<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>
213<strong>NAPPY_PATH</strong> = '/usr/local/nappy'<br>
214<strong>OUTPUT_DIR</strong> = '/srv/www/htdocs/output'<br>
215<strong>OUTPUT_DIR_PERMISSION</strong> = 493<br>
216<strong>OUTPUT_FILE_GROUP</strong> = 'users'<br>
217<strong>OUTPUT_FILE_PERMISSION</strong> = 420<br>
218<strong>OUTPUT_FILE_USER</strong> = 'wwwrun'<br>
219<strong>OUTPUT_FORMATS</strong> = ['NetCDF', 'NASA Ames']<br>
220<strong>PACKAGE_NAME</strong> = 'Data Extractor'<br>
221<strong>PROCESS_LIST_DIR</strong> = '/usr/local/dx/processes'<br>
222<strong>REGISTRATION_PAGE</strong> = 'http://yourhost/your_link.html'<br>
223<strong>REQUEST_DIR</strong> = '/usr/local/dx/requests'<br>
224<strong>REQUEST_SIZE_LIMIT</strong> = 100<br>
225<strong>REQUEST_XML_DIR</strong> = '/srv/www/htdocs/request_xmls'<br>
226<strong>RESTRICTED_DATA</strong> = 0<br>
227<strong>RIGHT_LOGO</strong> = 'dx_logo.jpg'<br>
228<strong>STAGES</strong> = ['DatasetGroupPage', 'DatasetPage', 'VariablesPage', 'DomainPage', 'ResultsPage']<br>
229<strong>TIME_KEYS</strong> = ['Year', 'Month', 'Day', 'Hour', 'Minute', 'Second']<br>
230<strong>TIMING_SCALE_FACTOR</strong> = 1.0000000000000001e-05<br>
231<strong>TOP_LEVEL</strong> = 'datasetGroup'<br>
232<strong>USER_HOMEDIR</strong> = '/var/lib/wwwrun'<br>
233<strong>VISUALISOR_NAME</strong> = '/cgi-bin/splatui-0.1.1.py'<br>
234<strong>helpMessage</strong> = '<font color="#c040c0">\n\n</font>times.py<font color="#c040c0">\n</font>========<font color="#c040c0">\n\n</font>Holds the class DateTime th...00:00:00", "1999-01-22 12:00:00", (6, "hour"))<font color="#c040c0">\n\n\n</font>'<br>
235<strong>path</strong> = 'YOUR_CDAT/cdat/lib/python2.3/site-packages/Numeric'<br>
236<strong>sessionID</strong> = None<br>
237<strong>timePattern</strong> = &lt;_sre.SRE_Pattern object&gt;</td></tr></table>
238</body></html>
Note: See TracBrowser for help on using the repository browser.