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
FieldsModifier and TypeFieldDescriptionstatic final intThe sensor type code.static final StringThe sensor type string.Fields inherited from class noaa.coastwatch.util.trans.SensorScanProjection
DESCRIPTION, parametersFields inherited from class noaa.coastwatch.util.trans.EarthTransform
boundaryHandler, dims -
Constructor Summary
ConstructorsConstructorDescriptionEllipsoidPerspectiveProjection(double[] parameters, int[] dimensions) Constructs a new ellipsoid perspective projection. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Provides a description of this class.intGets a code for this sensor scan type.Gets a description of this sensor scan type.static voidTests this class.protected voidtransformImpl(DataLocation dataLoc, EarthLocation earthLoc) Implements the data to geographic transform.protected voidtransformImpl(EarthLocation earthLoc, DataLocation dataLoc) Implements the geographic to data transform.Methods inherited from class noaa.coastwatch.util.trans.SensorScanProjection
equals, getParametersMethods inherited from class noaa.coastwatch.util.trans.EarthTransform2D
get2DVersion, getBoundingBox, getWorldAxes, isOrientable, setPointTransform, transformToPointMethods inherited from class noaa.coastwatch.util.trans.EarthTransform
clone, closest, distance, getBoundaryHandler, getDatum, getDimensions, getResolution, getSpheroid, getSpheroid, getSubset, isInvertible, transform, transform, transform, transformMethods 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:SensorScanProjectionGets a description of this sensor scan type.- Specified by:
getSensorTypein classSensorScanProjection
-
getSensorCode
public int getSensorCode()Description copied from class:SensorScanProjectionGets a code for this sensor scan type.- Specified by:
getSensorCodein classSensorScanProjection
-
transformImpl
Description copied from class:EarthTransformImplements the geographic to data transform.- Specified by:
transformImplin classEarthTransform- See Also:
-
transformImpl
Description copied from class:EarthTransformImplements the data to geographic transform.- Specified by:
transformImplin classEarthTransform- See Also:
-
describe
Description copied from class:SensorScanProjectionProvides a description of this class.- Overrides:
describein classSensorScanProjection
-
main
Tests this class.- Parameters:
argv- the array of command line parameters.
-