public class NOAA1bV1Reader.ScanLineV1 extends NOAA1bReader.ScanLine
Modifier and Type | Field and Description |
---|---|
static int |
CH1_INTERCEPT
The channel 1 calibration intercept attribute (Float).
|
static int |
CH1_SLOPE
The channel 1 calibration slope attribute (Float).
|
static int |
CH2_INTERCEPT
The channel 2 calibration intercept attribute (Float).
|
static int |
CH2_SLOPE
The channel 2 calibration slope attribute (Float).
|
static int |
CH3_INTERCEPT
The channel 3 calibration intercept attribute (Float).
|
static int |
CH3_SLOPE
The channel 3 calibration slope attribute (Float).
|
static int |
CH4_INTERCEPT
The channel 4 calibration intercept attribute (Float).
|
static int |
CH4_SLOPE
The channel 4 calibration slope attribute (Float).
|
static int |
CH5_INTERCEPT
The channel 5 calibration intercept attribute (Float).
|
static int |
CH5_SLOPE
The channel 5 calibration slope attribute (Float).
|
static int |
PRT_READING_1
The PRT reading 1 attribute (Integer).
|
static int |
PRT_READING_2
The PRT reading 2 attribute (Integer).
|
static int |
PRT_READING_3
The PRT reading 3 attribute (Integer).
|
AVHRR_CH1, AVHRR_CH2, AVHRR_CH3, AVHRR_CH3A, AVHRR_CH4, AVHRR_CH5, CH3_SELECT, CLOUD, count, data, LATITUDE, LONGITUDE, NAVIGATION_VALUES, QUALITY_INDICATOR, RELATIVE_AZIMUTH, SATELLITE_ZENITH, SCAN_LINE_DAY, SCAN_LINE_MILLISECOND, SCAN_LINE_NUMBER, SCAN_LINE_YEAR, SCAN_TIME, SOLAR_ZENITH, start
Constructor and Description |
---|
ScanLineV1(int line,
int start,
int count)
Creates a new dataset scan line using the specified index.
|
Modifier and Type | Method and Description |
---|---|
float[] |
calibrateChannel(int[] countData,
int channel)
Calibrates channel count data to scientific units.
|
java.lang.Object |
getAttribute(int index)
Gets a scan line attribute.
|
protected float[] |
getCalibration(int channel)
Gets the set of line-specific calibration coefficients for the
specified channel.
|
byte[] |
getCloud()
Throws an exception.
|
float[] |
getRawNavigation(int variable)
Gets the raw uninterpolated navigation data for the specified
angle variable.
|
long[] |
getScanTime()
Gets the scan line time data.
|
boolean |
isNavigationUsable()
Gets the navigation data usability flag.
|
boolean |
isSensorDataUsable()
Gets the sensor data usability flag.
|
getChannel, getIndex, getNavigation, getRawChannel, getRawData, interpolateNavigation
public static final int CH1_SLOPE
public static final int CH1_INTERCEPT
public static final int CH2_SLOPE
public static final int CH2_INTERCEPT
public static final int CH3_SLOPE
public static final int CH3_INTERCEPT
public static final int CH4_SLOPE
public static final int CH4_INTERCEPT
public static final int CH5_SLOPE
public static final int CH5_INTERCEPT
public static final int PRT_READING_1
public static final int PRT_READING_2
public static final int PRT_READING_3
public ScanLineV1(int line, int start, int count) throws java.io.IOException
line
- the scan line index in the range [0..lines-1].start
- the starting sensor data sample.count
- the total number of sensor data samples. If the
count is 0, no sensor data is read.java.io.IOException
- if an error occurred reading the file data.NOAA1bReader.getScanLine(int, int, int)
,
NOAA1bReader.getLines()
public byte[] getCloud()
getCloud
in class NOAA1bReader.ScanLine
public long[] getScanTime()
getScanTime
in class NOAA1bReader.ScanLine
public java.lang.Object getAttribute(int index)
NOAA1bReader.ScanLine
getAttribute
in class NOAA1bReader.ScanLine
index
- the attribute index.public boolean isSensorDataUsable()
NOAA1bReader.ScanLine
isSensorDataUsable
in class NOAA1bReader.ScanLine
public boolean isNavigationUsable()
NOAA1bReader.ScanLine
isNavigationUsable
in class NOAA1bReader.ScanLine
protected float[] getCalibration(int channel)
NOAA1bReader.ScanLine
getCalibration
in class NOAA1bReader.ScanLine
channel
- the channel for calibration coefficients, [1..5].public float[] calibrateChannel(int[] countData, int channel)
NOAA1bReader.ScanLine
calibrateChannel
in class NOAA1bReader.ScanLine
countData
- the count data as an integer array.channel
- the channel to calibrate, [1..5].NOAA1bReader.ScanLine.getRawChannel(int)
public float[] getRawNavigation(int variable)
NOAA1bReader.ScanLine
getRawNavigation
in class NOAA1bReader.ScanLine
variable
- the navigation variable.