|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidas.AREAnav
edu.wisc.ssec.mcidas.RADRnav
public final class RADRnav
Navigation class for Radar (RADR) type nav. This code was modified from the original FORTRAN code (nvxradr.dlm) on the McIDAS system. It only supports latitude/longitude to line/element transformations (LL) and vice/versa. Transform to 'XYZ' not implemented.
Field Summary |
---|
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 | |
---|---|
RADRnav(int[] iparms)
Set up for the real math work. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Determines whether or not the Object in question is
the same as this AREAnav . |
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 |
Methods inherited from class edu.wisc.ssec.mcidas.AREAnav |
---|
areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, canApproximateWithSpline, doubleToFloat, floatToDouble, getLineOffset, getSubpoint, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, isFlippedLineCoordinates, makeAreaNav, makeAreaNav, setFlipLineCoordinates, setImageStart, setMag, setMag, setRes, setRes, setStart, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RADRnav(int[] iparms) throws IllegalArgumentException
iparms
- the nav block from the image file
IllegalArgumentException
- if the nav block is not a RADR type.Method Detail |
---|
public double[][] toLatLon(double[][] linele)
toLatLon
in class AREAnav
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.)
public double[][] toLinEle(double[][] latlon)
toLinEle
in class AREAnav
latlon
- array of lat/long pairs. Where latlon[indexLat][]
are latitudes and latlon[indexLon][] are longitudes.
public float[][] toLatLon(float[][] linele)
toLatLon
in class AREAnav
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.)
public float[][] toLinEle(float[][] latlon)
toLinEle
in class AREAnav
latlon
- array of lat/long pairs. Where latlon[indexLat][]
are latitudes and latlon[indexLon][] are longitudes.
public boolean equals(Object o)
AREAnav
Object
in question is
the same as this AREAnav
. Right now, this returns
false until we can figure out when two navigations are equal.
Subclasses could override if desired.
equals
in class AREAnav
o
- the AREAnav in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |