Package noaa.coastwatch.io
Class ACSPOHDFReader
java.lang.Object
noaa.coastwatch.io.EarthDataReader
noaa.coastwatch.io.HDFReader
noaa.coastwatch.io.ACSPOHDFReader
- All Implemented Interfaces:
HDFSD
Deprecated.
A
ACSPOHDFReader
reads HDF format data output
from the NOAA/NESDIS AVHRR Clear-Sky Processor for Oceans
(ACSPO) system.- Since:
- 3.2.2
- Author:
- Peter Hollemans
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Deprecated.Swath polynomial size in kilometers.Fields inherited from class noaa.coastwatch.io.EarthDataReader
dataProjection, info, rawMetadataMap, variables
-
Constructor Summary
ConstructorDescriptionACSPOHDFReader
(String file) Deprecated.Constructs a ACSPOHDF reader from the specified file. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the data format description.protected EarthDataInfo
Deprecated.Reads the earth data info metadata.getPreview
(int index) Deprecated.Creates a data variable preview.getVariable
(String name) Deprecated.Creates a data variable object.protected boolean
Deprecated.Determines if the full set of attributes should be read into the global EarthDataInfo object and DataVariable objects.Methods inherited from class noaa.coastwatch.io.HDFReader
close, getAttribute, getAttribute, getAttributeAsArray, getAttributeAsArray, getAttributes, getAttributes, getChunkLengths, getChunkProducer, getClass, getFilename, getPreviewImpl, getSDID, getUnsigned, getVariable, getVariableDimensions, getVariableNames
Methods inherited from class noaa.coastwatch.io.EarthDataReader
canUpdateNavigation, containsVariable, finalize, getAllGrids, getAllVariables, getCoordinateSystems, getIndex, getInfo, getName, getPreview, getRawMetadata, getRawMetadata, getSceneTime, getSource, getStatistics, getStatisticsVariables, getVariables, getVariablesForSystem, putStatistics, setDataProjection, setUnitsMap, updateNavigation
-
Field Details
-
SWATH_POLY_SIZE
public static final double SWATH_POLY_SIZEDeprecated.Swath polynomial size in kilometers.- See Also:
-
-
Constructor Details
-
ACSPOHDFReader
Deprecated.Constructs a ACSPOHDF reader from the specified file.- Parameters:
file
- the file name to read.- Throws:
IOException
- if an error opening or reading the file metadata.
-
-
Method Details
-
getDataFormat
Deprecated.Gets the data format description.- Specified by:
getDataFormat
in classEarthDataReader
-
readAllMetadata
protected boolean readAllMetadata()Deprecated.Description copied from class:HDFReader
Determines if the full set of attributes should be read into the global EarthDataInfo object and DataVariable objects. Generally this is only desirable if the HDF metadata in the data source is compatible with the intended HDF data sink. By default, this method returns false unless overridden in the child class.- Overrides:
readAllMetadata
in classHDFReader
- Returns:
- true if full metadata should be read, or false if not.
-
getGlobalInfo
protected EarthDataInfo getGlobalInfo() throws hdf.hdflib.HDFException, IOException, ClassNotFoundExceptionDeprecated.Description copied from class:HDFReader
Reads the earth data info metadata.- Specified by:
getGlobalInfo
in classHDFReader
- Returns:
- the earth data info object.
- Throws:
hdf.hdflib.HDFException
- if an error occurred in an HDF routine.IOException
- if an error occurred reading the file metadata.ClassNotFoundException
- if the HDF attribute type is unknown.
-
getPreview
Deprecated.Description copied from class:EarthDataReader
Creates a data variable preview. A preview contains all metadata but no data value array. The preview can be used in a filtering loop to determine if the reading of the variable data is desired, as I/O can be a time-intensive operation.- Overrides:
getPreview
in classEarthDataReader
- Parameters:
index
- the index of the variable to preview. Indexing starts at 0.- Returns:
- a data variable object with data value array of length 1.
- Throws:
IOException
- if the data source had I/O errors.- See Also:
-
getVariable
Deprecated.Description copied from class:EarthDataReader
Creates a data variable object. The full data is read into the object.- Overrides:
getVariable
in classEarthDataReader
- Parameters:
name
- the name of the variable to get.- Returns:
- a data variable object with full data value array.
- Throws:
IOException
- if the data source had I/O errors, or the variable was not found.- See Also:
-
CommonDataModelNCReader
compatible files.