|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.wisc.ssec.mcidas.AREAnav edu.wisc.ssec.mcidas.GMSXnav
public class GMSXnav
This class implements GMSX navigation. The code was modified from the original FORTRAN code (nvxgmsx.dlm) on the McIDAS system. It only supports latitude/longitude to line/element transformations (LL) and vice/versa. Transform to 'XYZ' not implemented.
AREAnav
,
McIDAS Programmer's Manual,
Serialized FormField 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 | |
---|---|
GMSXnav(int[] navBlock)
constructor: copy nav block to a byte array, eliminating text fields |
Method Summary | |
---|---|
double[] |
getSubpoint()
Get the lat,lon of the subpoint if available |
static byte[] |
intToBytes(int v)
intToBytes converts an int to an array of 4 bytes. |
static void |
main(String[] args)
|
double[][] |
toLatLon(double[][] linele)
converts from satellite coordinates to latitude/longitude |
float[][] |
toLatLon(float[][] linele)
toLatLon converts satellite line/element to lat/lon |
double[][] |
toLinEle(double[][] latlon)
toLinEle converts lat/long to satellite line/element |
float[][] |
toLinEle(float[][] latlon)
toLinEle converts lat/lon to satellite line/element |
Methods inherited from class edu.wisc.ssec.mcidas.AREAnav |
---|
areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, canApproximateWithSpline, doubleToFloat, equals, floatToDouble, getLineOffset, 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 GMSXnav(int[] navBlock)
navBlock
- - the navigation block from the image fileMethod Detail |
---|
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 double[][] toLinEle(double[][] latlon)
AREAnav
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.
public double[][] toLatLon(double[][] linele)
AREAnav
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[] getSubpoint()
getSubpoint
in class AREAnav
public static byte[] intToBytes(int v)
v
- input value
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |