Modifier and Type | Field and Description |
---|---|
static double |
SWATH_POLY_SIZE
Swath polynomial size in kilometers.
|
dataProjection, info, rawMetadataMap, variables
Constructor and Description |
---|
ACSPOHDFReader(java.lang.String file)
Constructs a ACSPOHDF reader from the specified file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDataFormat()
Gets the data format description.
|
protected EarthDataInfo |
getGlobalInfo()
Reads the earth data info metadata.
|
DataVariable |
getPreview(int index)
Creates a data variable preview.
|
DataVariable |
getVariable(java.lang.String name)
Creates a data variable object.
|
protected boolean |
readAllMetadata()
Determines if the full set of attributes should be read into the
global EarthDataInfo object and DataVariable objects.
|
close, getAttribute, getAttribute, getAttributeAsArray, getAttributeAsArray, getAttributes, getAttributes, getChunkLengths, getClass, getFilename, getPreviewImpl, getSDID, getUnsigned, getVariable, getVariableDimensions, getVariableNames
canUpdateNavigation, finalize, getAllGrids, getAllVariables, getCoordinateSystems, getIndex, getInfo, getName, getPreview, getRawMetadata, getSceneTime, getSource, getStatistics, getStatisticsVariables, getVariables, getVariablesForSystem, putStatistics, setDataProjection, setUnitsMap, updateNavigation
public static final double SWATH_POLY_SIZE
public ACSPOHDFReader(java.lang.String file) throws java.io.IOException
file
- the file name to read.java.io.IOException
- if an error opening or reading the file
metadata.public java.lang.String getDataFormat()
getDataFormat
in class EarthDataReader
protected boolean readAllMetadata()
HDFReader
readAllMetadata
in class HDFReader
protected EarthDataInfo getGlobalInfo() throws hdf.hdflib.HDFException, java.io.IOException, java.lang.ClassNotFoundException
HDFReader
getGlobalInfo
in class HDFReader
hdf.hdflib.HDFException
- if an error occurred in an HDF routine.java.io.IOException
- if an error occurred reading the file metadata.java.lang.ClassNotFoundException
- if the HDF attribute type is unknown.public DataVariable getPreview(int index) throws java.io.IOException
EarthDataReader
getPreview
in class EarthDataReader
index
- the index of the variable to preview. Indexing
starts at 0.java.io.IOException
- if the data source had I/O errors.EarthDataReader.getVariable(int)
public DataVariable getVariable(java.lang.String name) throws java.io.IOException
EarthDataReader
getVariable
in class EarthDataReader
name
- the name of the variable to get.java.io.IOException
- if the data source had I/O errors, or the
variable was not found.EarthDataReader.getPreview(int)