public abstract class CalibratorGvar extends Object implements Calibrator
Calibrator.CalibratorFY2
Modifier and Type | Field and Description |
---|---|
protected static int |
curCalType |
protected static int |
index |
protected float[][] |
irBiasCoef |
protected float[][] |
irGainCoef |
boolean |
isPreCalibrated |
protected static int |
LOOKUP_TABLE_SZ_IMGR |
protected static int |
LOOKUP_TABLE_SZ_SNDR |
protected float[][] |
lookupTable |
protected static int |
NUM_BANDS_IMAGER |
protected static int |
NUM_BANDS_SOUNDER |
protected static int |
NUM_IR_BANDS |
protected static int |
NUM_IR_DETECTORS |
protected static int |
NUM_VIS_DETECTORS |
protected float[] |
sBiasCoef |
protected float[] |
sGainCoef |
protected float[] |
visBiasCoef |
protected float |
visBiasCoefAVG |
protected float[] |
visGain1Coef |
protected float |
visGain1CoefAVG |
protected float[] |
visGain2Coef |
protected float |
visGain2CoefAVG |
protected float |
visRadToAlb |
CAL_ALB, CAL_BRIT, CAL_MAX, CAL_MIN, CAL_NONE, CAL_RAD, CAL_RAW, CAL_REFL, CAL_TEMP, SENSOR_FY2D, SENSOR_FY2E, SENSOR_FY2F, SENSOR_FY2G, SENSOR_FY2H, SENSOR_GOES10_IMGR, SENSOR_GOES10_SNDR, SENSOR_GOES12_IMGR, SENSOR_GOES12_SNDR, SENSOR_GOES13_IMGR, SENSOR_GOES13_SNDR, SENSOR_GOES14_IMGR, SENSOR_GOES14_SNDR, SENSOR_GOES15_IMGR, SENSOR_GOES15_SNDR, SENSOR_GOES16_IMGR, SENSOR_GOES16_SNDR, SENSOR_GOES8_IMGR, SENSOR_GOES8_SNDR, SENSOR_GOES9_IMGR, SENSOR_GOES9_SNDR, SENSOR_MSG10_IMGR, SENSOR_MSG8_IMGR, SENSOR_MSG9_IMGR
Constructor and Description |
---|
CalibratorGvar(DataInputStream dis,
AncillaryData ad,
int[] calBlock)
constructor
|
CalibratorGvar(int sensorId,
int[] calBlock) |
Modifier and Type | Method and Description |
---|---|
float[] |
calibrate(float[] inputData,
int band,
int calTypeOut)
calibrate data buffer to specified units.
|
float |
calibrate(float inputPixel,
int band,
int calTypeOut)
calibrate single value to specified units.
|
int[] |
calibratedList(int band,
boolean isPreCal) |
String |
calibratedUnit(int calType) |
float[] |
convertBritToTemp(float[] inputData)
convert a gray scale value to brightness temperature
|
float |
convertBritToTemp(int inVal)
convert a gray scale value to brightness temperature
|
boolean |
getIsPreCalibrated() |
void |
initGvar(int sensorId,
int[] calBlock) |
abstract float |
radToTemp(float inVal,
int band,
int sId)
calibrate from radiance to temperature
|
int |
setCalType(int calType)
set calibration type of current (input) data
|
void |
setIsPreCalibrated(boolean isPrecalibrated) |
protected static final int NUM_BANDS_IMAGER
protected static final int NUM_BANDS_SOUNDER
protected static final int NUM_VIS_DETECTORS
protected static final int NUM_IR_DETECTORS
protected static final int NUM_IR_BANDS
protected static final int LOOKUP_TABLE_SZ_IMGR
protected static final int LOOKUP_TABLE_SZ_SNDR
protected static int curCalType
protected static int index
protected float[] visBiasCoef
protected float[] visGain1Coef
protected float[] visGain2Coef
protected float visBiasCoefAVG
protected float visGain1CoefAVG
protected float visGain2CoefAVG
protected float visRadToAlb
protected float[][] irBiasCoef
protected float[][] irGainCoef
protected float[] sBiasCoef
protected float[] sGainCoef
protected float[][] lookupTable
public boolean isPreCalibrated
public CalibratorGvar(DataInputStream dis, AncillaryData ad, int[] calBlock) throws IOException
dis
- data input streamad
- AncillaryData objectcalBlock
- calibration parameters arrayIOException
public CalibratorGvar(int sensorId, int[] calBlock)
public void initGvar(int sensorId, int[] calBlock)
public int setCalType(int calType)
setCalType
in interface Calibrator
calType
- one of the types defined in Calibrator interfacepublic abstract float radToTemp(float inVal, int band, int sId)
inVal
- input data valueband
- channel/band numbersId
- sensor id numberpublic float[] calibrate(float[] inputData, int band, int calTypeOut)
calibrate
in interface Calibrator
inputData
- input data bufferband
- channel/band numbercalTypeOut
- units to convert input buffer topublic float calibrate(float inputPixel, int band, int calTypeOut)
calibrate
in interface Calibrator
inputPixel
- input data valueband
- channel/band numbercalTypeOut
- units to convert input buffer topublic int[] calibratedList(int band, boolean isPreCal)
calibratedList
in interface Calibrator
public String calibratedUnit(int calType)
calibratedUnit
in interface Calibrator
public float convertBritToTemp(int inVal)
convertBritToTemp
in interface Calibrator
inVal
- input data valuepublic float[] convertBritToTemp(float[] inputData)
convertBritToTemp
in interface Calibrator
inputData
- input data arraypublic boolean getIsPreCalibrated()
getIsPreCalibrated
in interface Calibrator
public void setIsPreCalibrated(boolean isPrecalibrated)
setIsPreCalibrated
in interface Calibrator
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.