| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
dict --+
|
object --+ |
| |
cube.MetadataMixin --+
|
Header
Class representing the text fields of an ENVI format header, with the ability to populate an Cube with the parsed values from this text.
When initially loading this class, all that is done is to parse the text into name/value pairs. Conversion from text to something more interesting, like the actual values or lists of values is not done until you call getCube, which then creates an Cube instance and populates its fields with the values parsed from the ENVI header text.
| Instance Methods | |||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Class Methods | |||
|
|||
|
|||
| Class Variables | |
format_id =
|
|
format_name =
|
|
extensions =
|
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Scan through the file-like object to identify if it is a valid instance of the type that the subclass is expecting to load.
|
Open the header file, and if successful parse it.
|
|
Use csv to parse the text into a list of values, and additionally convert those values according to the specified function (default: no conversion). Use the original value to determine if the final result should be reduced to a value instead of a one-element list. |
Return a cube instance that represents the data pointed to by the metadata.
|
Return names of cubes contained within this file. Return a list of names that identify the cubes contained within this file.
|
Parse the text strings stored in the object (as a dictionary) into usable numbers, lists, and strings. Store the resulting values in the Cube that is passed in as a parameter. |
str(x)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:16 2008 | http://epydoc.sourceforge.net |