Trees | Indices | Help |
|
---|
|
Created on 03/01/2011
Author: Luis Lopez
Contact: Luis dot Lopez at nsidc dot org
HDF map reader V. 0.1.14
This program is licensed under the GPL v3 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
About the project:
The main goal of the HDF mapping project is data preservation to ensure that scientific data stored as HDF4 files will be accessible in the future without relaying on a specific API or platform. This is being addressed using XML to represent all the necessary information of an HDF4 file and its content in a structured way.
The HDF map reader is being developed using this approach.
hdf4MapReader is the main module, it parses command line argument as follows:
./hdf4MapReader -f [filename] -l|-e [HDF_object]
[filename]: a Valid XML map file
-e: extract the object(s)
-l: list the object(s)
[HDF_object]: VData, SDS, RIS, MDATA, ALL
|
|||
|
|||
|
|
|||
__package__ = None
|
|
Print the usage of the command line, the paths are relative to the script location. ./hdf4MapReader -f [filename] -l|-e [HDF_object] [-b] [filename]: a Valid XML map file -e: extract the object(s) -l: list the object(s) [HDF_object]: VData, SDS, RIS, MDATA, ALL -b: dumps the object(s) in binary .dat files. |
This function validate the command line arguments and creates a sub directory in the same path as the XML file and with the same name. This directory will be used to store the output files. If the parameters are correct and the reader has the necessary permissions to create the output directory, an instance of 'XMLparser' will be created. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 5 14:51:52 2011 | http://epydoc.sourceforge.net |