Package noaa.coastwatch.io.noaa1b
Class AbstractDataRecord
java.lang.Object
noaa.coastwatch.io.noaa1b.AbstractDataRecord
- All Implemented Interfaces:
DataRecord
- Direct Known Subclasses:
AMSUARecord
,AMSUBRecord
,HIRS4Record
,MHSRecord
The
AbstractDataRecord
class reads NOAA 1b data
records.- Since:
- 3.2.2
- Author:
- Peter Hollemans
-
Field Summary
Modifier and TypeFieldDescriptionprotected ByteBuffer
The data buffer to read.protected DataHeader
The header record for this data record.protected BinaryStreamReader
The binary reader for this class. -
Constructor Summary
ConstructorDescriptionAbstractDataRecord
(ByteBuffer buffer, DataHeader header) Creates a new record. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface noaa.coastwatch.io.noaa1b.DataRecord
getCalibration, getData, getNavigation, getSensorData, isCalibrationUsable, isNavigationUsable, isSensorDataUsable
-
Field Details
-
reader
The binary reader for this class. -
buffer
The data buffer to read. -
header
The header record for this data record.
-
-
Constructor Details
-
AbstractDataRecord
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 interfaceDataRecord
-
getDate
Description copied from interface:DataRecord
Gets the record date.- Specified by:
getDate
in interfaceDataRecord
-