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 aRadarMapProjectioncentered on the lat/lon given.RadarMapProjection(double lat, double lon, int width, int height) Create aRadarMapProjectioncentered on the lat/lon and size given.RadarMapProjection(double lat, double lon, int width, int height, int res) Create aRadarMapProjectioncentered on the lat/lon and size given.Create aRadarMapProjectioncentered on the lat/lon given.RadarMapProjection(LatLonPoint ll, int width, int height) Create aRadarMapProjectioncentered on the lat/lon and size given -
Method Summary
Modifier and TypeMethodDescriptioncreateElement(XmlEncoder encoder) Create the XML to represent this object.booleaninitFromXml(XmlEncoder encoder, Element node) Do nothing, return true to tell the encoder that it is ok to process any methods or properties.toString()Get aStringrepresentation of this projection.Methods inherited from class visad.data.mcidas.AREACoordinateSystem
equals, fromReference, fromReference, getAreaNav, getAuxBlock, getDefaultMapArea, getDirBlock, getNavBlock, getSubpoint, getUseSpline, init, toReference, toReferenceMethods inherited from class visad.georef.MapProjection
getCenterLatLon, getFlipX, getFlipY, getLatLon, getXIndex, getYIndex, isLatLonOrder, isXYOrderMethods 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
-
RadarMapProjection
Create aRadarMapProjectioncentered on the lat/lon given.- Parameters:
ll-LatLonPointfor center point- Throws:
VisADException- unable to create the projection
-
RadarMapProjection
Create aRadarMapProjectioncentered on the lat/lon and size given- Parameters:
ll-LatLonPointfor center pointwidth- height of the image (pixels)height- height of the image (pixels)- Throws:
VisADException- unable to create the projection
-
RadarMapProjection
Create aRadarMapProjectioncentered 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 aRadarMapProjectioncentered 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 aRadarMapProjectioncentered 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 aStringrepresentation of this projection.- Overrides:
toStringin classAREACoordinateSystem- Returns:
- string
-
createElement
Create the XML to represent this object.- Specified by:
createElementin 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:
initFromXmlin interfaceXmlPersistable- Parameters:
encoder- encoder to usenode- node to process- Returns:
- true
-