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
FieldsModifier and TypeFieldDescriptionprotected ByteBufferThe data buffer to read.protected DataHeaderThe header record for this data record.protected BinaryStreamReaderThe binary reader for this class. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDataRecord(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, waitMethods 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:DataRecordGets the scan line number.- Specified by:
getScanLinein interfaceDataRecord
-
getDate
Description copied from interface:DataRecordGets the record date.- Specified by:
getDatein interfaceDataRecord
-