Package ucar.visad
Class RadarGridCoordinateSystem
java.lang.Object
visad.CoordinateSystem
visad.georef.NavigatedCoordinateSystem
ucar.visad.RadarGridCoordinateSystem
- All Implemented Interfaces:
Serializable
Class to transform lon/lat/elevation angle to lon/lat/altitude
- Version:
- $Revision: 1.5 $ $Date: 2005/05/13 18:34:03 $
- Author:
- MetApps Development Team
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRadarGridCoordinateSystem(double lat, double lon, double alt) Construct a new RGCS with the center pointRadarGridCoordinateSystem(EarthLocation radLocation) Construct a new RGCS with the center point -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck to see if the object in question is equal to this.double[][]fromReference(double[][] lonlatalt) Transform lat/lon/alt to lat/lon/elevation anglefloat[][]fromReference(float[][] lonlatalt) Transform lat/lon/alt to lat/lon/elevation angledouble[][]toReference(double[][] lonlatelev) Transform lon/lat/elevation angle to lat/lon/altfloat[][]toReference(float[][] lonlatelev) Transform lon/lat/elevation angle to lat/lon/altMethods inherited from class visad.georef.NavigatedCoordinateSystem
getLatitudeIndex, getLongitudeIndexMethods inherited from class visad.CoordinateSystem
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
-
Constructor Details
-
RadarGridCoordinateSystem
Construct a new RGCS with the center point- Parameters:
radLocation- radar location (lat/lon/alt)- Throws:
VisADException- couldn't create necessary VisAD objects
-
RadarGridCoordinateSystem
Construct a new RGCS with the center point- Parameters:
lat- radar latitudelon- radar longitudealt- radar altitude- Throws:
VisADException- couldn't create necessary VisAD objects
-
-
Method Details
-
toReference
Transform lon/lat/elevation angle to lat/lon/alt- Specified by:
toReferencein classCoordinateSystem- Parameters:
lonlatelev- lon/lat/elevation angle data- Returns:
- data as lat/lon/alt
- Throws:
VisADException- bad array size or transformation problem
-
fromReference
Transform lat/lon/alt to lat/lon/elevation angle- Specified by:
fromReferencein classCoordinateSystem- Parameters:
lonlatalt- lat/lon/alt values- Returns:
- transformed lon/lat/elevation
- Throws:
VisADException- bad array size or transformation problem
-
toReference
Transform lon/lat/elevation angle to lat/lon/alt- Overrides:
toReferencein classCoordinateSystem- Parameters:
lonlatelev- lon/lat/elevation angle data- Returns:
- data as lat/lon/alt
- Throws:
VisADException- bad array size or transformation problem
-
fromReference
Transform lat/lon/alt to lat/lon/elevation angle- Overrides:
fromReferencein classCoordinateSystem- Parameters:
lonlatalt- lat/lon/alt values- Returns:
- transformed lon/lat/elevation
- Throws:
VisADException- bad array size or transformation problem
-
equals
Check to see if the object in question is equal to this.- Specified by:
equalsin classCoordinateSystem- Parameters:
obj- object in question- Returns:
- true if they are equal
-