Package noaa.coastwatch.io.noaa1b
Class HIRS4Record
java.lang.Object
noaa.coastwatch.io.noaa1b.AbstractDataRecord
noaa.coastwatch.io.noaa1b.HIRS4Record
- All Implemented Interfaces:
DataRecord
The
HIRS4Record
class reads NOAA
1b HIRS/4 data records.- Since:
- 3.2.2
- Author:
- Peter Hollemans
-
Field Summary
Fields inherited from class noaa.coastwatch.io.noaa1b.AbstractDataRecord
buffer, header, reader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
Gets calibration data as tuplets of [a0, a1, a2] coefficients for each channel.terrenus.instrument.InstrumentData
getData()
Gets the calibrated and earth located sensor data.float[]
Gets navigation data as tuplets of [solar zenith, satellite zenith, relative azimuth, latitude, longitude] for each pixel.short[]
Gets the sensor data values as uncalibrated counts.boolean
Determines if the calibration data is usable based on quality flags.boolean
Determines if the navigation data is usable based on quality flags.boolean
Determines if the sensor data is usable based on quality flags.Methods inherited from class noaa.coastwatch.io.noaa1b.AbstractDataRecord
getDate, getScanLine
-
Constructor Details
-
HIRS4Record
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 this class cannot be found.
-
-
Method Details
-
isSensorDataUsable
public boolean isSensorDataUsable()Description copied from interface:DataRecord
Determines if the sensor data is usable based on quality flags. -
getSensorData
public short[] getSensorData()Description copied from interface:DataRecord
Gets the sensor data values as uncalibrated counts. -
isCalibrationUsable
public boolean isCalibrationUsable()Description copied from interface:DataRecord
Determines if the calibration data is usable based on quality flags. -
getCalibration
public float[] getCalibration()Gets calibration data as tuplets of [a0, a1, a2] coefficients for each channel. Radiance in mW/(m^2 sr cm^-1) may be computed from count value using the equation: radiance = a0 + a1*count + a2*count^2. -
getData
public terrenus.instrument.InstrumentData getData()Description copied from interface:DataRecord
Gets the calibrated and earth located sensor data.
-