Package noaa.coastwatch.util.trans
Class EllipsoidPerspectiveProjection
java.lang.Object
noaa.coastwatch.util.MetadataContainer
noaa.coastwatch.util.trans.EarthTransform
noaa.coastwatch.util.trans.EarthTransform2D
noaa.coastwatch.util.trans.SensorScanProjection
noaa.coastwatch.util.trans.EllipsoidPerspectiveProjection
- All Implemented Interfaces:
Cloneable
The
EllipsoidPerspectiveProjection
class simulates the
earth view that a theoretical satellite would have from orbit. The
satellite is equipped with a sensor that sweeps rows from top to
bottom and columns from left to right at user-specified stepping
angles. It is assumed that the satellite is pointed at the center
of the Earth. A WGS 84 earth model is used to perform ellipsoid
intersection and geodetic latitude calculations.
As of version 3.4.1, two types of scanners are supported: a GOES-style scanner
which scans each column of the image in a vertical north/south direction,
and a Meteosat/Himawari-style scanner which scans each row in the
horizontal east-west direction. Previously only Meteosat/Himawari style
scanners were supported.- Since:
- 3.1.9
- Author:
- Peter Hollemans
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The sensor type code.static final String
The sensor type string.Fields inherited from class noaa.coastwatch.util.trans.SensorScanProjection
DESCRIPTION, parameters
Fields inherited from class noaa.coastwatch.util.trans.EarthTransform
boundaryHandler, dims
-
Constructor Summary
ConstructorDescriptionEllipsoidPerspectiveProjection
(double[] parameters, int[] dimensions) Constructs a new ellipsoid perspective projection. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()
Provides a description of this class.int
Gets a code for this sensor scan type.Gets a description of this sensor scan type.static void
Tests this class.protected void
transformImpl
(DataLocation dataLoc, EarthLocation earthLoc) Implements the data to geographic transform.protected void
transformImpl
(EarthLocation earthLoc, DataLocation dataLoc) Implements the geographic to data transform.Methods inherited from class noaa.coastwatch.util.trans.SensorScanProjection
equals, getParameters
Methods inherited from class noaa.coastwatch.util.trans.EarthTransform2D
get2DVersion, getBoundingBox, getWorldAxes, isOrientable, setPointTransform, transformToPoint
Methods inherited from class noaa.coastwatch.util.trans.EarthTransform
clone, distance, getBoundaryHandler, getDatum, getDimensions, getResolution, getSpheroid, getSpheroid, getSubset, isInvertible, transform, transform, transform, transform
Methods inherited from class noaa.coastwatch.util.MetadataContainer
getMetadataMap
-
Field Details
-
SENSOR_TYPE
The sensor type string.- See Also:
-
SENSOR_CODE
public static final int SENSOR_CODEThe sensor type code.- See Also:
-
-
Constructor Details
-
EllipsoidPerspectiveProjection
public EllipsoidPerspectiveProjection(double[] parameters, int[] dimensions) Constructs a new ellipsoid perspective projection. The satellite is located at the specified geocentric location and radius, and is pointed towards the center of the Earth.- Parameters:
parameters
- the array of sensor parameters (either 5 or 6 values):- Subpoint latitude in degrees (geocentric).
- Subpoint longitude in degrees.
- Distance of satellite from center of earth in kilometers.
- Scan step angle in row direction in radians.
- Scan step angle in column direction in radians.
- Vertical scan flag, non-zero for vertical (optional). If not included, a horizontal Meteosat/Himawari style scanner is assumed.
dimensions
- the total grid dimensions as [rows, columns].
-
-
Method Details
-
getSensorType
Description copied from class:SensorScanProjection
Gets a description of this sensor scan type.- Specified by:
getSensorType
in classSensorScanProjection
-
getSensorCode
public int getSensorCode()Description copied from class:SensorScanProjection
Gets a code for this sensor scan type.- Specified by:
getSensorCode
in classSensorScanProjection
-
transformImpl
Description copied from class:EarthTransform
Implements the geographic to data transform.- Specified by:
transformImpl
in classEarthTransform
- See Also:
-
transformImpl
Description copied from class:EarthTransform
Implements the data to geographic transform.- Specified by:
transformImpl
in classEarthTransform
- See Also:
-
describe
Description copied from class:SensorScanProjection
Provides a description of this class.- Overrides:
describe
in classSensorScanProjection
-
main
Tests this class.- Parameters:
argv
- the array of command line parameters.
-