HDF Class

Provides methods for manipulating HDF files (HDF version 4 and earlier).

Module:GeoEco.DataManagement.HDFs
Intended use:All methods are recommended for external callers
COM:Exposed as COM class GeoEco.HDF
ArcGIS:Some methods are exposed as ArcGIS geoprocessing tools

Classmethods

ExtractHeader(inputFile, outputFile[, overwriteExisting])
Extracts the header of an HDF file and saves it to a text file.
ExtractHeaderArcGISTable(table, inputFileField, outputFileField[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]])
Extracts the headers of HDF files in a table and saves them to text files.
ExtractHeaderList(inputFileList, outputFileList[, skipExisting[, overwriteExisting[, basePath]]])
Extracts the headers of HDF files in a list and saves them to text files.
ExtractHeaderTable(connection, table, inputFileField, outputFileField[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]])
Extracts the headers of HDF files in a table and saves them to text files.
FindAndConvertToArcGISRasters(inputDirectory, outputWorkspace, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, wildcard[, searchTree[, minSize[, maxSize[, minDateCreated[, maxDateCreated[, minDateModified[, maxDateModified[, transpose[, mirror[, flip[, swapHemispheres[, coordinateSystem[, projectedCoordinateSystem[, geographicTransformation[, resamplingTechnique[, projectedCellSize[, registrationPoint[, clippingRectangle[, mapAlgebraExpression[, buildPyramids[, outputRasterPythonExpression[, modulesToImport[, skipExisting[, overwriteExisting]]]]]]]]]]]]]]]]]]]]]]]]]])
Finds HDF files in a directory and converts a Scientific Data Sets (SDS) in each file to an ArcGIS raster.
FindAndConvertToArcInfoASCIIGrids(inputDirectory, outputDirectory, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, wildcard[, searchTree[, minSize[, maxSize[, minDateCreated[, maxDateCreated[, minDateModified[, maxDateModified[, transpose[, mirror[, flip[, swapHemispheres[, outputFilePythonExpression[, modulesToImport[, skipExisting[, overwriteExisting]]]]]]]]]]]]]]]]])
Finds HDF files in a directory and converts a Scientific Data Sets (SDS) in each file to a text file in ArcInfo ASCII Grid format.
FindAndConvertToBinaryRasters(inputDirectory, outputDirectory, sdsName[, wildcard[, searchTree[, minSize[, maxSize[, minDateCreated[, maxDateCreated[, minDateModified[, maxDateModified[, transpose[, mirror[, flip[, swapHemispheres[, outputFilePythonExpression[, modulesToImport[, skipExisting[, overwriteExisting]]]]]]]]]]]]]]]])
Finds HDF files in a directory and converts a Scientific Data Sets (SDS) in each file to a binary raster.
FindAndExtractHeaders(inputDirectory, outputDirectory[, wildcard[, searchTree[, minSize[, maxSize[, minDateCreated[, maxDateCreated[, minDateModified[, maxDateModified[, outputFilePythonExpression[, modulesToImport[, skipExisting[, overwriteExisting]]]]]]]]]]]])
Finds HDF files in a directory, extracts their headers, and saves the headers to text files.
GetSDSDataType(inputFile, sdsName)
Returns the data type of a specified Scientific Data Set (SDS) in an HDF file.
GetSDSDimensions(inputFile, sdsName)
Returns a list of the dimensions of a specified Scientific Data Set (SDS) in an HDF file.
GetSDSNames(inputFile)
Returns a list of the names of Scientific Data Sets (SDSes) present in an HDF file.
SDSToArcGISRaster(inputFile, outputRaster, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, coordinateSystem[, projectedCoordinateSystem[, geographicTransformation[, resamplingTechnique[, projectedCellSize[, registrationPoint[, clippingRectangle[, mapAlgebraExpression[, buildPyramids[, overwriteExisting]]]]]]]]]]]]]]])
Converts a Scientific Data Set (SDS) in an HDF file to an ArcGIS raster.
SDSToArcInfoASCIIGrid(inputFile, outputFile, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, overwriteExisting]]]]]])
Converts a Scientific Data Set (SDS) in an HDF file to a text file in ArcInfo ASCII Grid format.
SDSToBinaryRaster(inputFile, outputFile, sdsName[, transpose[, mirror[, flip[, swapHemispheres[, overwriteExisting]]]]])
Converts a Scientific Data Set (SDS) in an HDF file to a binary raster.
ToArcGISRasterArcGISTable(table, inputFileField, outputRasterField, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, coordinateSystem[, projectedCoordinateSystem[, geographicTransformation[, resamplingTechnique[, projectedCellSize[, registrationPoint[, clippingRectangle[, mapAlgebraExpression[, buildPyramids[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]]]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a table to an ArcGIS raster.
ToArcGISRasterList(inputFileList, outputRasterList, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, coordinateSystem[, projectedCoordinateSystem[, geographicTransformation[, resamplingTechnique[, projectedCellSize[, registrationPoint[, clippingRectangle[, mapAlgebraExpression[, buildPyramids[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a list to an ArcGIS raster.
ToArcGISRasterTable(connection, table, inputFileField, outputRasterField, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, coordinateSystem[, projectedCoordinateSystem[, geographicTransformation[, resamplingTechnique[, projectedCellSize[, registrationPoint[, clippingRectangle[, mapAlgebraExpression[, buildPyramids[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]]]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a table to an ArcGIS raster.
ToArcInfoASCIIGridArcGISTable(table, inputFileField, outputFileField, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a table to a text file in an ArcInfo ASCII Grid format.
ToArcInfoASCIIGridList(inputFileList, outputFileList, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, skipExisting[, overwriteExisting[, basePath]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a list to a text file in an ArcInfo ASCII Grid format.
ToArcInfoASCIIGridTable(connection, table, inputFileField, outputFileField, sdsName, xLowerLeftCorner, yLowerLeftCorner, cellSize[, nodataValue[, transpose[, mirror[, flip[, swapHemispheres[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a table to a text file in an ArcInfo ASCII Grid format.
ToBinaryRasterArcGISTable(table, inputFileField, outputFileField, sdsName[, transpose[, mirror[, flip[, swapHemispheres[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a table to a binary raster.
ToBinaryRasterList(inputFileList, outputFileList, sdsName[, transpose[, mirror[, flip[, swapHemispheres[, skipExisting[, overwriteExisting[, basePath]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a list to a binary raster.
ToBinaryRasterTable(connection, table, inputFileField, outputFileField, sdsName[, transpose[, mirror[, flip[, swapHemispheres[, where[, orderBy[, directions[, skipExisting[, overwriteExisting[, basePath]]]]]]]]]])
Converts a Scientific Data Set (SDS) in each HDF file in a table to a binary raster.

Remarks

At the time this class was developed, 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 class 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