edu.wisc.ssec.mcidas
Class ABINnav
- java.lang.Object
-
- edu.wisc.ssec.mcidas.AREAnav
-
- edu.wisc.ssec.mcidas.ABINnav
-
- All Implemented Interfaces:
- java.io.Serializable
public class ABINnav extends AREAnav
ABINnav is used to provide "navigation" for ABIN image data. This code is essentially a direct port ofnvxabin.dlmfrom McIDAS-X. Note: the variable naming convention has been retained from the original McIDAS-X source code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ABINnav(int[] navblock)Initializes the ABIN navigation code with the given set of navigation parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double[][]toLatLon(double[][] linele)Convert satellite lines/elements to latitude/longitude coordinates.double[][]toLinEle(double[][] latlon)Convert latitudes/longitudes to satellite lines/elements.-
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, toLatLon, toLinEle, toString
-
-
-
-
Constructor Detail
-
ABINnav
public ABINnav(int[] navblock)
Initializes the ABIN navigation code with the given set of navigation parameters.- Parameters:
navblock- Navigation parameters from image file.- Throws:
java.lang.IllegalArgumentException- ifnavblockis not ABIN.
-
-
Method Detail
-
toLatLon
public double[][] toLatLon(double[][] linele)
Convert satellite lines/elements to latitude/longitude coordinates.- Specified by:
toLatLonin classAREAnav- Parameters:
linele- Array of line/element pairs. Wherelinele[indexLine]are "lines" andlinele[indexEle]are "elements". These coordinates must be "file" rather than "image" coordinates.- Returns:
- Array of latitude/longitude pairs.
latlon[indexLat]are latitudes andlatlon[indexLon]are longitudes.
-
toLinEle
public double[][] toLinEle(double[][] latlon)
Convert latitudes/longitudes to satellite lines/elements.- Specified by:
toLinElein classAREAnav- Parameters:
latlon- Array of latitude/longitude pairs. Wherelatlon[indexLat]are latitudes andlatlon[indexLon]are longitudes.- Returns:
- Array of line/element pairs.
linele[indexLine]are lines andlinele[indexEle]are elements. These coordinates are "file" rather than "image" coordinates.
-
-
DMelt 3.0 © DataMelt by jWork.ORG