Package ucar.visad

Class RadarMapProjection

All Implemented Interfaces:
Serializable, XmlPersistable

public class RadarMapProjection extends AREACoordinateSystem implements 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:
  • Constructor Details

    • RadarMapProjection

      public RadarMapProjection(LatLonPoint ll) throws VisADException
      Create a RadarMapProjection centered on the lat/lon given.
      Parameters:
      ll - LatLonPoint for center point
      Throws:
      VisADException - unable to create the projection
    • RadarMapProjection

      public RadarMapProjection(LatLonPoint ll, int width, int height) throws VisADException
      Create a RadarMapProjection centered on the lat/lon and size given
      Parameters:
      ll - LatLonPoint for center point
      width - 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) throws VisADException
      Create a RadarMapProjection centered on the lat/lon given. Use the default size.
      Parameters:
      lat - latitude of the center point
      lon - longitude of the center point
      Throws:
      VisADException
    • RadarMapProjection

      public RadarMapProjection(double lat, double lon, int width, int height) throws VisADException
      Create a RadarMapProjection centered on the lat/lon and size given.
      Parameters:
      lat - latitude of the center point
      lon - longitude of the center point
      width - 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 a RadarMapProjection centered on the lat/lon and size given.
      Parameters:
      lat - latitude of the center point
      lon - longitude of the center point
      width - 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

      public String toString()
      Get a String representation of this projection.
      Overrides:
      toString in class AREACoordinateSystem
      Returns:
      string
    • createElement

      public Element createElement(XmlEncoder encoder)
      Create the XML to represent this object.
      Specified by:
      createElement in interface XmlPersistable
      Parameters:
      encoder - encoder to use
      Returns:
      Element that represents this object.
    • initFromXml

      public boolean initFromXml(XmlEncoder encoder, Element node)
      Do nothing, return true to tell the encoder that it is ok to process any methods or properties.
      Specified by:
      initFromXml in interface XmlPersistable
      Parameters:
      encoder - encoder to use
      node - node to process
      Returns:
      true