Class AbstractDataRecord

java.lang.Object
noaa.coastwatch.io.noaa1b.AbstractDataRecord
All Implemented Interfaces:
DataRecord
Direct Known Subclasses:
AMSUARecord, AMSUBRecord, HIRS4Record, MHSRecord

public abstract class AbstractDataRecord extends Object implements DataRecord
The AbstractDataRecord class reads NOAA 1b data records.
Since:
3.2.2
Author:
Peter Hollemans
  • Field Details

    • reader

      protected BinaryStreamReader reader
      The binary reader for this class.
    • buffer

      protected ByteBuffer buffer
      The data buffer to read.
  • Constructor Details

    • AbstractDataRecord

      public AbstractDataRecord(ByteBuffer buffer, DataHeader header)
      Creates a new record.
      Parameters:
      buffer - the buffer to use for record data.
      header - the header record for this data record.
      Throws:
      RuntimeException - if the XML stream reader resource file for the subclass cannot be found.
  • Method Details

    • getScanLine

      public int getScanLine()
      Description copied from interface: DataRecord
      Gets the scan line number.
      Specified by:
      getScanLine in interface DataRecord
    • getDate

      public Date getDate()
      Description copied from interface: DataRecord
      Gets the record date.
      Specified by:
      getDate in interface DataRecord