edu.wisc.ssec.mcidas
Class LALOnav
java.lang.Object
edu.wisc.ssec.mcidas.AREAnav
edu.wisc.ssec.mcidas.LALOnav
- All Implemented Interfaces:
- java.io.Serializable
public final class LALOnav
- extends AREAnav
Navigation class for Radar (RECT) type nav. This code was modified
from the original FORTRAN code (nvxrect.dlm) on the McIDAS system. It
only supports latitude/longitude to line/element transformations (LL)
and vice/versa. Transform to 'XYZ' not implemented.
- See Also:
-
McIDAS Programmer's Manual,
Serialized Form
Fields inherited from class edu.wisc.ssec.mcidas.AREAnav |
DEGREES_TO_RADIANS, DMSP, GMSX, GOES, GVAR, indexEle, indexLat, indexLine, indexLon, LALO, LAMB, LL, MERC, MOLL, MSAT, POES, PS, RADIANS_TO_DEGREES, RADR, RECT, TANC, XY |
Constructor Summary |
LALOnav(int[] iparms,
int[] auxBlock)
Set up for the real math work. |
Method Summary |
double[][] |
toLatLon(double[][] linele)
converts from satellite coordinates to latitude/longitude |
double[][] |
toLinEle(double[][] latlon)
toLinEle converts lat/long to satellite line/element |
Methods inherited from class edu.wisc.ssec.mcidas.AREAnav |
areaCoordToImageCoord, equals, getLineOffset, imageCoordToAreaCoord, isFlippedLineCoordinates, makeAreaNav, makeAreaNav, setFlipLineCoordinates, setImageStart, setMag, setMag, setRes, setRes, setStart |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LALOnav
public LALOnav(int[] iparms,
int[] auxBlock)
throws java.lang.IllegalArgumentException
- Set up for the real math work. Must pass in the int array
of the RECT nav 'codicil'.
- Parameters:
iparms
- the nav block from the image file
- Throws:
java.lang.IllegalArgumentException
- if the nav block is not a RECT type.
toLatLon
public double[][] toLatLon(double[][] linele)
- 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.
this code cobbled from McIDAS laloutil.c
toLinEle
public double[][] toLinEle(double[][] latlon)
- 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);