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

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

Put all the old code in the old_stuff branch.

Line 
1
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module fileNames</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>fileNames</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/fileNames.py">/usr/local/dx-0.1.1/fileNames.py</a></font></td></tr></table>
12    <p><tt>fileNames.py&nbsp;<br>
13============&nbsp;<br>
14&nbsp;<br>
15Contains&nbsp;the&nbsp;<a href="#FileNames">FileNames</a>&nbsp;class&nbsp;used&nbsp;to&nbsp;define&nbsp;output&nbsp;file&nbsp;names&nbsp;based&nbsp;<br>
16on&nbsp;the&nbsp;data&nbsp;content&nbsp;of&nbsp;files&nbsp;and&nbsp;rules&nbsp;defined&nbsp;externally.</tt></p>
17<p>
18<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
19<tr bgcolor="#aa55cc">
20<td colspan=3 valign=bottom>&nbsp;<br>
21<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
22   
23<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
24<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
25<a href="re.html">re</a><br>
26</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
27<a href="time.html">time</a><br>
28</td><td width="25%" valign=top><a href="types.html">types</a><br>
29</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
30<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
31<tr bgcolor="#ee77aa">
32<td colspan=3 valign=bottom>&nbsp;<br>
33<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
34   
35<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
36<td width="100%"><dl>
37<dt><font face="helvetica, arial"><a href="fileNames.html#FileNames">FileNames</a>
38</font></dt></dl>
39 <p>
40<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
41<tr bgcolor="#ffc8d8">
42<td colspan=3 valign=bottom>&nbsp;<br>
43<font color="#000000" face="helvetica, arial"><a name="FileNames">class <strong>FileNames</strong></a></font></td></tr>
44   
45<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
46<td colspan=2><tt>Class&nbsp;to&nbsp;define&nbsp;output&nbsp;file&nbsp;names&nbsp;based&nbsp;on&nbsp;the&nbsp;contents&nbsp;of&nbsp;a&nbsp;data&nbsp;file.&nbsp;<br>
47The&nbsp;default&nbsp;is&nbsp;to&nbsp;create&nbsp;one&nbsp;output&nbsp;file&nbsp;per&nbsp;time&nbsp;step.<br>&nbsp;</tt></td></tr>
48<tr><td>&nbsp;</td>
49<td width="100%">Methods defined here:<br>
50<dl><dt><a name="FileNames-__init__"><strong>__init__</strong></a>(self, datasetGroup<font color="#909090">=None</font>, dataset<font color="#909090">=None</font>, timeSteps<font color="#909090">=None</font>, horizontalBounds<font color="#909090">=None</font>, verticalDomain<font color="#909090">=None</font>, variables<font color="#909090">=None</font>, fileFormat<font color="#909090">=None</font>)</dt><dd><tt>Method&nbsp;to&nbsp;set&nbsp;up&nbsp;instance&nbsp;variables&nbsp;and&nbsp;call&nbsp;instance&nbsp;methods.</tt></dd></dl>
51
52<dl><dt><a name="FileNames-createFileNameList"><strong>createFileNameList</strong></a>(self)</dt><dd><tt>Method&nbsp;to&nbsp;generate&nbsp;a&nbsp;list&nbsp;of&nbsp;file&nbsp;names&nbsp;based&nbsp;in&nbsp;the&nbsp;template&nbsp;defined&nbsp;<br>
53by&nbsp;this&nbsp;class.&nbsp;Should&nbsp;this&nbsp;be&nbsp;implemented&nbsp;to&nbsp;take&nbsp;both&nbsp;a&nbsp;list&nbsp;of&nbsp;date/times&nbsp;and&nbsp;<br>
54a&nbsp;start,&nbsp;end&nbsp;and&nbsp;interval?</tt></dd></dl>
55
56</td></tr></table></td></tr></table><p>
57<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
58<tr bgcolor="#55aa55">
59<td colspan=3 valign=bottom>&nbsp;<br>
60<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
61   
62<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
63<td width="100%"><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>'</td></tr></table>
64</body></html>
Note: See TracBrowser for help on using the repository browser.