edu.wisc.ssec.mcidas
Class SINUnav
java.lang.Object
edu.wisc.ssec.mcidas.AREAnav
edu.wisc.ssec.mcidas.SINUnav
- All Implemented Interfaces:
- Serializable
public final class SINUnav
- extends AREAnav
- See Also:
- Serialized Form
Fields inherited from class edu.wisc.ssec.mcidas.AREAnav |
ABIS, DEGREES_TO_RADIANS, DMSP, GEOS, GMSX, GOES, GVAR, indexEle, indexLat, indexLine, indexLon, KALP, LALO, LAMB, LL, MERC, MOLL, MSAT, MSG, MSGT, POES, PS, RADIANS_TO_DEGREES, RADR, RECT, SIN, TANC, XY |
Constructor Summary |
SINUnav(int[] iparms)
|
Method Summary |
static void |
main(String[] a)
|
double[][] |
toLatLon(double[][] linele)
converts from satellite coordinates to latitude/longitude |
float[][] |
toLatLon(float[][] linele)
converts from satellite coordinates to latitude/longitude. |
double[][] |
toLinEle(double[][] latlon)
toLinEle converts lat/long to satellite line/element |
float[][] |
toLinEle(float[][] latlon)
toLinEle converts lat/long to satellite line/element
This implementation converts the input array to doubles
and calls the double signature of AREAnav.toLinEle(double[][]) . |
Methods inherited from class edu.wisc.ssec.mcidas.AREAnav |
areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, canApproximateWithSpline, doubleToFloat, equals, floatToDouble, getLineOffset, getSubpoint, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, isFlippedLineCoordinates, makeAreaNav, makeAreaNav, setFlipLineCoordinates, setImageStart, setMag, setMag, setRes, setRes, setStart, toString |
SINUnav
public SINUnav(int[] iparms)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
toLatLon
public double[][] toLatLon(double[][] linele)
- Description copied from class:
AREAnav
- converts from satellite coordinates to latitude/longitude
- Specified by:
toLatLon
in class AREAnav
- Parameters:
linele
- array of line/element pairs. Where
linele[indexLine][] is a 'line' and
linele[indexEle][] is an element. These are in
'file' coordinates (not "image" coordinates.)
- Returns:
- latlon[][] array of lat/long pairs. Output array is
latlon[indexLat][] of latitudes and
latlon[indexLon][] of longitudes.
toLinEle
public double[][] toLinEle(double[][] latlon)
- Description copied from class:
AREAnav
- toLinEle converts lat/long to satellite line/element
- Specified by:
toLinEle
in class AREAnav
- Parameters:
latlon
- array of lat/long pairs. Where latlon[indexLat][]
are latitudes and latlon[indexLon][] are longitudes.
- Returns:
- linele[][] array of line/element pairs. Where
linele[indexLine][] is a line and linele[indexEle][]
is an element. These are in 'file' coordinates
(not "image" coordinates);
toLatLon
public float[][] toLatLon(float[][] linele)
- Description copied from class:
AREAnav
- converts from satellite coordinates to latitude/longitude.
This implementation converts the input array to doubles
and calls the double signature of
AREAnav.toLatLon(double[][])
.
Subclasses should implement a real float version for better
performance.
- Overrides:
toLatLon
in class AREAnav
- Parameters:
linele
- array of line/element pairs. Where
linele[indexLine][] is a 'line' and
linele[indexEle][] is an element. These are in
'file' coordinates (not "image" coordinates.)
- Returns:
- latlon[][] array of lat/long pairs. Output array is
latlon[indexLat][] of latitudes and
latlon[indexLon][] of longitudes.
toLinEle
public float[][] toLinEle(float[][] latlon)
- Description copied from class:
AREAnav
- toLinEle converts lat/long to satellite line/element
This implementation converts the input array to doubles
and calls the double signature of
AREAnav.toLinEle(double[][])
.
Subclasses should implement a real float version for better
performance.
- Overrides:
toLinEle
in class AREAnav
- Parameters:
latlon
- array of lat/long pairs. Where latlon[indexLat][]
are latitudes and latlon[indexLon][] are longitudes.
- Returns:
- linele[][] array of line/element pairs. Where
linele[indexLine][] is a line and linele[indexEle][]
is an element. These are in 'file' coordinates
(not "image" coordinates);
main
public static void main(String[] a)