Class ACSPOHDFReader

All Implemented Interfaces:
HDFSD

@Deprecated public class ACSPOHDFReader extends HDFReader
Deprecated.
As of version 3.4.1, format is not produced anymore, replaced by CommonDataModelNCReader compatible files.
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 Details

    • SWATH_POLY_SIZE

      public static final double SWATH_POLY_SIZE
      Deprecated.
      Swath polynomial size in kilometers.
      See Also:
  • Constructor Details

    • ACSPOHDFReader

      public ACSPOHDFReader(String file) throws IOException
      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

      public String getDataFormat()
      Deprecated.
      Gets the data format description.
      Specified by:
      getDataFormat in class EarthDataReader
    • 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 class HDFReader
      Returns:
      true if full metadata should be read, or false if not.
    • getGlobalInfo

      protected EarthDataInfo getGlobalInfo() throws hdf.hdflib.HDFException, IOException, ClassNotFoundException
      Deprecated.
      Description copied from class: HDFReader
      Reads the earth data info metadata.
      Specified by:
      getGlobalInfo in class HDFReader
      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

      public DataVariable getPreview(int index) throws IOException
      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 class EarthDataReader
      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

      public DataVariable getVariable(String name) throws IOException
      Deprecated.
      Description copied from class: EarthDataReader
      Creates a data variable object. The full data is read into the object.
      Overrides:
      getVariable in class EarthDataReader
      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: