Documentation of 'edu.wisc.ssec.mcidas.CalibratorFactory' Java class
CalibratorFactory
edu.wisc.ssec.mcidas

Class CalibratorFactory



  • public final class CalibratorFactory
    extends java.lang.Object
    Utility class for creating Calibrator instances.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCalibrator

        public static final Calibrator getCalibrator(int id,
                                                     int[] cal)
                                              throws CalibratorException
        Get an appropriate 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.
        Parameters:
        id - Sensor id from the directory block
        cal - Calibration block used to initialize the Calibrator
        Returns:
        initialized Calibrator with a source calibration type of RAW.
        Throws:
        CalibratorException - on an error initializing the object.
      • getCalibrator

        public static final Calibrator getCalibrator(int id,
                                                     int srcType,
                                                     int[] cal)
                                              throws CalibratorException
        Get an appropriate Calibrator for the sensor id provided. See the McIDAS Users Guide Appendix C for a table of sensor ids.
        Parameters:
        id - Sensor id from the directory block
        srcType - the source data type from the directory block
        cal - Calibration block used to initialize the Calibrator
        Returns:
        initialized Calibrator.
        Throws:
        CalibratorException - on an error initializing the object or if the sensor is unknown.
      • hasCalibrator

        public static final boolean hasCalibrator(int id)
        Check if there is a Calibrator implemented for a sensor.
        Parameters:
        id - Id of the sensor from the McIDAS Users Guide Appendix C
        Returns:
        True if there is an implemented Calibrator, false otherwise. see The McIDAS Users Guide

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.