Package ucar.visad
Class RadarMapProjection
java.lang.Object
visad.CoordinateSystem
visad.georef.NavigatedCoordinateSystem
visad.georef.MapProjection
visad.data.mcidas.AREACoordinateSystem
ucar.visad.RadarMapProjection
- All Implemented Interfaces:
Serializable
,XmlPersistable
A map projection uses a McIDAS navigation.
- Version:
- $Revision: 1.8 $ $Date: 2007/06/22 13:37:52 $
- Author:
- MetApps Development Team
- See Also:
-
Field Summary
Fields inherited from class visad.data.mcidas.AREACoordinateSystem
anav
-
Constructor Summary
ConstructorsConstructorDescriptionRadarMapProjection
(double lat, double lon) Create aRadarMapProjection
centered on the lat/lon given.RadarMapProjection
(double lat, double lon, int width, int height) Create aRadarMapProjection
centered on the lat/lon and size given.RadarMapProjection
(double lat, double lon, int width, int height, int res) Create aRadarMapProjection
centered on the lat/lon and size given.Create aRadarMapProjection
centered on the lat/lon given.RadarMapProjection
(LatLonPoint ll, int width, int height) Create aRadarMapProjection
centered on the lat/lon and size given -
Method Summary
Modifier and TypeMethodDescriptioncreateElement
(XmlEncoder encoder) Create the XML to represent this object.boolean
initFromXml
(XmlEncoder encoder, Element node) Do nothing, return true to tell the encoder that it is ok to process any methods or properties.toString()
Get aString
representation of this projection.Methods inherited from class visad.data.mcidas.AREACoordinateSystem
equals, fromReference, fromReference, getAreaNav, getAuxBlock, getDefaultMapArea, getDirBlock, getNavBlock, getSubpoint, getUseSpline, init, toReference, toReference
Methods inherited from class visad.georef.MapProjection
getCenterLatLon, getFlipX, getFlipY, getLatLon, getXIndex, getYIndex, isLatLonOrder, isXYOrder
Methods inherited from class visad.georef.NavigatedCoordinateSystem
getLatitudeIndex, getLongitudeIndex
Methods inherited from class visad.CoordinateSystem
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
-
Constructor Details
-
RadarMapProjection
Create aRadarMapProjection
centered on the lat/lon given.- Parameters:
ll
-LatLonPoint
for center point- Throws:
VisADException
- unable to create the projection
-
RadarMapProjection
Create aRadarMapProjection
centered on the lat/lon and size given- Parameters:
ll
-LatLonPoint
for center pointwidth
- height of the image (pixels)height
- height of the image (pixels)- Throws:
VisADException
- unable to create the projection
-
RadarMapProjection
Create aRadarMapProjection
centered on the lat/lon given. Use the default size.- Parameters:
lat
- latitude of the center pointlon
- longitude of the center point- Throws:
VisADException
-
RadarMapProjection
Create aRadarMapProjection
centered on the lat/lon and size given.- Parameters:
lat
- latitude of the center pointlon
- longitude of the center pointwidth
- height of the image (pixels)height
- height of the image (pixels)- Throws:
VisADException
- unable to create the projection
-
RadarMapProjection
public RadarMapProjection(double lat, double lon, int width, int height, int res) throws VisADException Create aRadarMapProjection
centered on the lat/lon and size given.- Parameters:
lat
- latitude of the center pointlon
- longitude of the center pointwidth
- height of the image (pixels)height
- height of the image (pixels)res
- resolution of the pixels (km)- Throws:
VisADException
- unable to create the projection
-
-
Method Details
-
toString
Get aString
representation of this projection.- Overrides:
toString
in classAREACoordinateSystem
- Returns:
- string
-
createElement
Create the XML to represent this object.- Specified by:
createElement
in interfaceXmlPersistable
- Parameters:
encoder
- encoder to use- Returns:
- Element that represents this object.
-
initFromXml
Do nothing, return true to tell the encoder that it is ok to process any methods or properties.- Specified by:
initFromXml
in interfaceXmlPersistable
- Parameters:
encoder
- encoder to usenode
- node to process- Returns:
- true
-