edu.wisc.ssec.mcidas
Class CalibratorGvar
java.lang.Object
edu.wisc.ssec.mcidas.CalibratorGvar
- All Implemented Interfaces:
- Calibrator
- Direct Known Subclasses:
- CalibratorGvarG10, CalibratorGvarG12, CalibratorGvarG13, CalibratorGvarG8, CalibratorGvarG9
public abstract class CalibratorGvar
- extends Object
- implements Calibrator
CalibratorGvar creates a Calibrator object designed specifically
to deal with GVAR data. Not fully implemented at present - some
calibrations remain to be done.
- Version:
- 1.5 16 Nov 1998
- Author:
- Tommy Jasmin, SSEC
Fields inherited from interface edu.wisc.ssec.mcidas.Calibrator |
CAL_ALB, CAL_BRIT, CAL_MAX, CAL_MIN, CAL_NONE, CAL_RAD, CAL_RAW, 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_GOES8_IMGR, SENSOR_GOES8_SNDR, SENSOR_GOES9_IMGR, SENSOR_GOES9_SNDR, SENSOR_MSG_IMGR |
Method Summary |
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. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_BANDS_IMAGER
protected static final int NUM_BANDS_IMAGER
- See Also:
- Constant Field Values
NUM_BANDS_SOUNDER
protected static final int NUM_BANDS_SOUNDER
- See Also:
- Constant Field Values
NUM_VIS_DETECTORS
protected static final int NUM_VIS_DETECTORS
- See Also:
- Constant Field Values
NUM_IR_DETECTORS
protected static final int NUM_IR_DETECTORS
- See Also:
- Constant Field Values
NUM_IR_BANDS
protected static final int NUM_IR_BANDS
- See Also:
- Constant Field Values
LOOKUP_TABLE_SZ_IMGR
protected static final int LOOKUP_TABLE_SZ_IMGR
- See Also:
- Constant Field Values
LOOKUP_TABLE_SZ_SNDR
protected static final int LOOKUP_TABLE_SZ_SNDR
- See Also:
- Constant Field Values
curCalType
protected static int curCalType
index
protected static int index
visBiasCoef
protected float[] visBiasCoef
visGain1Coef
protected float[] visGain1Coef
visGain2Coef
protected float[] visGain2Coef
visRadToAlb
protected float visRadToAlb
irBiasCoef
protected float[][] irBiasCoef
irGainCoef
protected float[][] irGainCoef
sBiasCoef
protected float[] sBiasCoef
sGainCoef
protected float[] sGainCoef
lookupTable
protected float[][] lookupTable
CalibratorGvar
public CalibratorGvar(DataInputStream dis,
AncillaryData ad,
int[] calBlock)
throws IOException
- constructor
- Parameters:
dis
- data input streamad
- AncillaryData objectcalBlock
- calibration parameters array
- Throws:
IOException
CalibratorGvar
public CalibratorGvar(int sensorId,
int[] calBlock)
setCalType
public int setCalType(int calType)
- set calibration type of current (input) data
- Specified by:
setCalType
in interface Calibrator
- Parameters:
calType
- one of the types defined in Calibrator interface
radToTemp
public abstract float radToTemp(float inVal,
int band,
int sId)
- calibrate from radiance to temperature
- Parameters:
inVal
- input data valueband
- channel/band numbersId
- sensor id number
calibrate
public float[] calibrate(float[] inputData,
int band,
int calTypeOut)
- calibrate data buffer to specified units.
- Specified by:
calibrate
in interface Calibrator
- Parameters:
inputData
- input data bufferband
- channel/band numbercalTypeOut
- units to convert input buffer to
calibrate
public float calibrate(float inputPixel,
int band,
int calTypeOut)
- calibrate single value to specified units.
- Specified by:
calibrate
in interface Calibrator
- Parameters:
inputPixel
- input data valueband
- channel/band numbercalTypeOut
- units to convert input buffer to