public class GMSXnav extends AREAnav
AREAnav
,
McIDAS Programmer's Manual,
Serialized FormConstructor and Description |
---|
GMSXnav(int[] navBlock)
constructor: copy nav block to a byte array, eliminating text fields
|
Modifier and Type | Method and Description |
---|---|
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
|
areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, areaCoordToImageCoord, canApproximateWithSpline, doubleToFloat, equals, floatToDouble, getLineOffset, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, imageCoordToAreaCoord, isFlippedLineCoordinates, makeAreaNav, makeAreaNav, setFlipLineCoordinates, setImageStart, setMag, setMag, setRes, setRes, setStart, toString
public GMSXnav(int[] navBlock)
navBlock
- - the navigation block from the image filepublic float[][] toLinEle(float[][] latlon)
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)
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 valuepublic static void main(String[] args)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.