edu.wisc.ssec.mcidas
Class CalibratorFY2
java.lang.Object
edu.wisc.ssec.mcidas.CalibratorDefault
edu.wisc.ssec.mcidas.CalibratorFY2
- All Implemented Interfaces:
- Calibrator
public class CalibratorFY2
- extends CalibratorDefault
- implements Calibrator
- Author:
- tommyj
Adapted from the McIDAS-X module kbxfy2.dlm
NOT TESTED YET, USE AT YOUR OWN RISK!
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 |
Constructor Summary |
CalibratorFY2(int[] prefix,
int[] areaDir,
int[] calBlock)
|
Method Summary |
float |
calibrate(float inVal,
int band,
int calTypeOut)
calibrate single value to specified units. |
float |
tempToRad(float inVal,
int band)
calibrate from temperature to radiance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalibratorFY2
public CalibratorFY2(int[] prefix,
int[] areaDir,
int[] calBlock)
throws IOException
- Throws:
IOException
calibrate
public float calibrate(float inVal,
int band,
int calTypeOut)
- Description copied from class:
CalibratorDefault
- calibrate single value to specified units.
- Specified by:
calibrate
in interface Calibrator
- Overrides:
calibrate
in class CalibratorDefault
- Parameters:
inVal
- input data valueband
- channel/band numbercalTypeOut
- units to convert input buffer to
tempToRad
public float tempToRad(float inVal,
int band)
- calibrate from temperature to radiance
- Parameters:
inVal
- input data valueband
- channel/band number