public class NOAA1bV2Reader.ScanLineV2 extends NOAA1bReader.ScanLine
Modifier and Type | Field and Description |
---|---|
static int |
CALIBRATION_QUALITY_CH3B
The calibration quality for channel 3b attribute (Integer).
|
static int |
CALIBRATION_QUALITY_CH4
The calibration quality for channel 4 attribute (Integer).
|
static int |
CALIBRATION_QUALITY_CH5
The calibration quality for channel 5 attribute (Integer).
|
static int |
CH1_INTERCEPT1
The channel 1 calibration intercept 1 attribute (Float).
|
static int |
CH1_INTERCEPT2
The channel 1 calibration intercept 2 attribute (Float).
|
static int |
CH1_INTERSECTION
The channel 1 calibration intersection attribute (Long).
|
static int |
CH1_SLOPE1
The channel 1 calibration slope 1 attribute (Float).
|
static int |
CH1_SLOPE2
The channel 1 calibration slope 2 attribute (Float).
|
static int |
CH2_INTERCEPT1
The channel 2 calibration intercept 1 attribute (Float).
|
static int |
CH2_INTERCEPT2
The channel 2 calibration intercept 2 attribute (Float).
|
static int |
CH2_INTERSECTION
The channel 2 calibration intersection attribute (Long).
|
static int |
CH2_SLOPE1
The channel 2 calibration slope 1 attribute (Float).
|
static int |
CH2_SLOPE2
The channel 2 calibration slope 2 attribute (Float).
|
static int |
CH3A_INTERCEPT1
The channel 3a calibration intercept 1 attribute (Float).
|
static int |
CH3A_INTERCEPT2
The channel 3a calibration intercept 2 attribute (Float).
|
static int |
CH3A_INTERSECTION
The channel 3a calibration intersection attribute (Long).
|
static int |
CH3A_SLOPE1
The channel 3a calibration slope 1 attribute (Float).
|
static int |
CH3A_SLOPE2
The channel 3a calibration slope 2 attribute (Float).
|
static int |
CH3B_COEFFICIENT1
The channel 3b calibration coefficient 1 attribute (Float).
|
static int |
CH3B_COEFFICIENT2
The channel 3b calibration coefficient 2 attribute (Float).
|
static int |
CH3B_COEFFICIENT3
The channel 3b calibration coefficient 3 attribute (Float).
|
static int |
CH4_COEFFICIENT1
The channel 4 calibration coefficient 1 attribute (Float).
|
static int |
CH4_COEFFICIENT2
The channel 4 calibration coefficient 2 attribute (Float).
|
static int |
CH4_COEFFICIENT3
The channel 4 calibration coefficient 3 attribute (Float).
|
static int |
CH5_COEFFICIENT1
The channel 5 calibration coefficient 1 attribute (Float).
|
static int |
CH5_COEFFICIENT2
The channel 5 calibration coefficient 2 attribute (Float).
|
static int |
CH5_COEFFICIENT3
The channel 5 calibration coefficient 3 attribute (Float).
|
protected static int |
NAVIGATION_GEOMETRY_OFFSET
The navigation data geometry offset.
|
protected static int |
NAVIGATION_LOCATION_OFFSET
The navigation data location offset.
|
static int |
NAVIGATION_STATUS
The navigation status attribute (Long).
|
static int |
SCAN_LINE_QUALITY
The scan line quality attribute (Long).
|
static int |
SPACECRAFT_ALTITUDE
The spacecraft altitude attribute (Float).
|
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 |
---|
ScanLineV2(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()
Gets the CLAVR cloud mask data.
|
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_SLOPE1
public static final int CH1_INTERCEPT1
public static final int CH1_SLOPE2
public static final int CH1_INTERCEPT2
public static final int CH1_INTERSECTION
public static final int CH2_SLOPE1
public static final int CH2_INTERCEPT1
public static final int CH2_SLOPE2
public static final int CH2_INTERCEPT2
public static final int CH2_INTERSECTION
public static final int CH3A_SLOPE1
public static final int CH3A_INTERCEPT1
public static final int CH3A_SLOPE2
public static final int CH3A_INTERCEPT2
public static final int CH3A_INTERSECTION
public static final int CH3B_COEFFICIENT1
public static final int CH3B_COEFFICIENT2
public static final int CH3B_COEFFICIENT3
public static final int CH4_COEFFICIENT1
public static final int CH4_COEFFICIENT2
public static final int CH4_COEFFICIENT3
public static final int CH5_COEFFICIENT1
public static final int CH5_COEFFICIENT2
public static final int CH5_COEFFICIENT3
public static final int SCAN_LINE_QUALITY
public static final int CALIBRATION_QUALITY_CH3B
public static final int CALIBRATION_QUALITY_CH4
public static final int CALIBRATION_QUALITY_CH5
public static final int NAVIGATION_STATUS
public static final int SPACECRAFT_ALTITUDE
protected static final int NAVIGATION_GEOMETRY_OFFSET
protected static final int NAVIGATION_LOCATION_OFFSET
public ScanLineV2(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()
NOAA1bReader.ScanLine
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.