public final class CalibratorFactory extends Object
Calibrator
instances.Modifier and Type | Method and Description |
---|---|
static Calibrator |
getCalibrator(int id,
int[] cal)
Get an appropriate
Calibrator for the sensor id provided. |
static Calibrator |
getCalibrator(int id,
int srcType,
int[] cal)
Get an appropriate
Calibrator for the sensor id provided. |
static boolean |
hasCalibrator(int id)
Check if there is a
Calibrator implemented for a sensor. |
public static final Calibrator getCalibrator(int id, int[] cal) throws CalibratorException
Calibrator
for the sensor id provided.
This assumes a RAW source data format. See the McIDAS Users Guide
Appendix C
for a table of sensor ids.id
- Sensor id from the directory blockcal
- Calibration block used to initialize the Calibrator
Calibrator
with a source calibration
type of RAW.CalibratorException
- on an error initializing the object.public static final Calibrator getCalibrator(int id, int srcType, int[] cal) throws CalibratorException
Calibrator
for the sensor id provided.
See the McIDAS Users Guide
Appendix C
for a table of sensor ids.id
- Sensor id from the directory blocksrcType
- the source data type from the directory blockcal
- Calibration block used to initialize the
Calibrator
Calibrator
.CalibratorException
- on an error initializing the object or if the
sensor is unknown.public static final boolean hasCalibrator(int id)
Calibrator
implemented for a sensor.id
- Id of the sensor from the McIDAS Users Guide
Appendix CCalibrator
, false
otherwise.
see The McIDAS Users GuideCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.