ExtractHeaderList Method

Extracts the headers of HDF files in a list and saves them to text files.

Class:HDF
Intended use:Recommended for external callers
COM:Exposed as the ExtractHeaderList method of COM class GeoEco.HDF
ArcGIS:Not exposed as an ArcGIS geoprocessing tool
Method type:Classmethod

Usage

HDF.ExtractHeaderList(inputFileList, outputFileList[, skipExisting[, overwriteExisting[, basePath]]])

Arguments

inputFileList
Python type:list of unicode
Minimum length:0

List of paths of the input HDF files.

At the time this tool was written, two major versions of HDF were under continuing development: HDF, which was at release 4.2r1, and HDF5, which was at release 5-1.6.5. This tool can process HDF files but not HDF5 files. It can also process HDF-EOS, a specialized version of HDF, but not HDF5-EOS.

For more information on HDF formats, please see http://www.hdfgroup.org.

If you provide compressed files in a supported compression format, they will be automatically decompressed. If files are compressed in an archive format (e.g. .zip or .tar), each archive must contain exactly one file, which must not be in a subdirectory.

outputFileList
Python type:list of unicode
Minimum length:0

List of paths of the text files to create.

skipExisting
Python type:bool
Default value:False

If True, processing will be skipped for text files that already exist.

overwriteExisting
Python type:bool
Default value:False

If True and skipExisting is False, existing text files will be overwritten.

basePath
Python type:unicode or None
Default value:None
Minimum length:1
Maximum length:255
Must exist:No

Base path to prepend to relative paths.

If any of the input paths (or output paths, if this method has outputs) contained in the lists are relative paths, they will be converted to absolute paths prior to processing, as follows: