Class SensorIdentifier

java.lang.Object
noaa.coastwatch.util.sensor.SensorIdentifier

public class SensorIdentifier extends Object

The SensorIdentifier class identifies scan data from the supported sensors in order to help create sensor-specific concrete objects.

Since:
3.5.0
Author:
Peter Hollemans
  • Constructor Details

    • SensorIdentifier

      public SensorIdentifier()
  • Method Details

    • getSensorScanLength

      public static int getSensorScanLength(EarthTransform trans)
      Gets a sensor scan length by looking for discontinuities in geolocation data.
      Parameters:
      trans - the earth transform from a sensor scan.
      Returns:
      the scan length.
      Since:
      3.8.1
    • getSensorFromScan

      public static SensorIdentifier.Sensor getSensorFromScan(EarthTransform trans)
      Gets a sensor type using the earth transform to identify sensor- specific scan patterns.
      Parameters:
      trans - the earth transform from a sensor scan.
      Returns:
      the matching sensor type or unknown.
    • main

      public static void main(String[] argv) throws Exception
      Tests this class.
      Throws:
      Exception