Package noaa.coastwatch.util.sensor
Class SensorIdentifier
java.lang.Object
noaa.coastwatch.util.sensor.SensorIdentifier
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
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SensorIdentifier.Sensor
getSensorFromScan
(EarthTransform trans) Gets a sensor type using the earth transform to identify sensor- specific scan patterns.static int
Gets a sensor scan length by looking for discontinuities in geolocation data.static void
Tests this class.
-
Constructor Details
-
SensorIdentifier
public SensorIdentifier()
-
-
Method Details
-
getSensorScanLength
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
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
Tests this class.- Throws:
Exception
-