Changeset 1088
- Timestamp:
- 07/01/08 14:20:50 (2 months ago)
- Files:
-
- trunk/pyhdf/doc/pyhdf.SD.html (modified) (1 diff)
- trunk/pyhdf/doc/pyhdf.odl_parser.html (modified) (2 diffs)
- trunk/pyhdf/examples/odl_parsing/README_odl.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pyhdf/doc/pyhdf.SD.html
r1082 r1088 10 10 ><td align=right valign=bottom 11 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/python2.4/site-packages/pyhdf/SD.py">/usr/lib/python2.4/site-packages/pyhdf/SD.py</a></font></td></tr></table> 12 <p><tt>A module of the pyhdf package implementing the <a href="#SD">SD</a> (scientific<br>13 dataset) API of the NCSA HDF4 library.<br>12 <p><tt>A module of the pyhdf package implementing the <a href="#SD">SD</a> (scientific<br> 13 dataset) API of the NCSA HDF4 library.<br> 14 14 (see: hdf.ncsa.uiuc.edu)<br> 15 15 <br> 16 Author: Andre Gosselin<br>17 Maurice Lamontagne Institute<br>16 Author: Andre Gosselin<br> 17 Maurice Lamontagne Institute<br> 18 18 Andre.Gosselin@dfo-mpo.gc.ca<br> 19 <br>20 Maintainer: Enthough, Inc.<br>21 Austin, TX<br>19 <br> 20 Maintainer: Enthough, Inc.<br> 21 Austin, TX<br> 22 22 enthought-dev@mail.enthought.com<br> 23 23 <br> trunk/pyhdf/doc/pyhdf.odl_parser.html
r1087 r1088 16 16 <!-- AUTHOR INFORMATION --> 17 17 Maintainer: Enthought, Inc.<br> 18 A sutin, TX<br>18 Austin, TX<br> 19 19 enthought-dev@mail.enthought.com<br> 20 20 <br> 21 21 Version: 0.8<br> 22 Date: July 1 2008<br>22 Date: July 1 2008<br> 23 23 <br> 24 24 … … 27 27 ------------<br> 28 28 A large amount of HDF data is stored in ODL (Object Description Language). For this reason, pyhdf includes a simple parser in the pyhdf.odl_parser module. 29 30 The main function in pyhdf.odl_parser is parse_odl. parse_odl is passed ODL text as a string, and returns a dictionary-of-dictionaries, where the keys are either group names or object names. The value of an object name is a dictionary containing its attributes. The value of a group name is a dictionary containing its objects or subgroups. 31 32 Note that the parser is not perfect; while it supports all commonly-used aspects of the ODL language, more esoteric aspects (such as arbitrary bases) are not supported. Also, a BEGIN_GROUP can be closed by an END_OBJECT, and vice versa. trunk/pyhdf/examples/odl_parsing/README_odl.txt
r1078 r1088 1 1 This example demonstrates the use of the ODL (Object Description Language) parser module in pyhdf. The sample file provided comes from the ASTER satellite instrument (see the aster example's README for more information). It returns a dictionary-of-dictionaries, where the keys are either group names or object names. The value of an object name is a dictionary containing its attributes. The value of a group name is a dictionary containing its objects or subgroups. 2 2 3 Note that the parser in pyhdf is not perfect; while it supports all commonly-used aspects of the ODL language, mor esoteric aspects (such as arbitrary bases) are not supported. Also, a BEGIN_GROUP can be closed by an END_OBJECT, and vice versa.3 Note that the parser in pyhdf is not perfect; while it supports all commonly-used aspects of the ODL language, more esoteric aspects (such as arbitrary bases) are not supported. Also, a BEGIN_GROUP can be closed by an END_OBJECT, and vice versa. 4 4 5 5 TODO: update parser to support full specifications of ODL language.
