org.wdssii.core
Class RadialSet

java.lang.Object
  extended by org.wdssii.core.DataType
      extended by org.wdssii.core.RadialSet

public class RadialSet
extends DataType

Author:
lakshman

Field Summary
private  float elevation
           
private  CVector myUx
           
private  CVector myUy
           
private  CVector myUz
           
private  CPoint radarLocation
           
protected  Radial[] radials
           
private  float rangeToFirstGate
           
 
Fields inherited from class org.wdssii.core.DataType
attributes, DataUnavailable, MissingData, originLocation, RangeFolded, startTime, typeName
 
Constructor Summary
RadialSet(float elevation, Location radarLoc, Date scanTime, float rangeToFirstGate, String typeName, Radial[] radials)
           
RadialSet(RadialSet master)
          
 
Method Summary
 float getAzimuthalSpacing()
          mean azimuthal spacing of all radials.
 float getBeamWidth()
          beamwidth of first radial, or 1 degree if there is no radial.
 float getElevation()
           
 float getGateWidthKms()
          gatewidth of first radial, or 1 km if there is no radial.
 CPoint getLocation(int radialno, int gateno)
          returns the location of this point in space.
 int getNumGates()
          number of gates of first radial, or 0 if there is no radial.
 int getNumRadials()
           
 float getNyquist()
          nyquist of first radial, or 0 if there is no radial.
 CPoint getRadarCPoint()
           
 Location getRadarLocation()
           
 Radial getRadial(float az)
          a very slow implementation
 Radial getRadial(int index)
           
 Radial[] getRadials()
           
 float getRangeToFirstGateKms()
          meters
 double getRawValue(CPoint pt)
           
 double getRawValue(float az, float rn)
           
 double getRawValue(Location loc)
           
 double getValueInConicalSpace(CVector v)
          The CVector here should in a co-ordinate system where the radar location is the origin, and the z-axis is perpendicular to the earth's surface, and the y-axis is north-ward.
(package private)  int getVCP()
           
 String toStringDB()
          debugging output
 
Methods inherited from class org.wdssii.core.DataType
addAttributes, copyOf, getAttribute, getAttributes, getLocation, getTime, getTypeName, getUnit, getUTC, setAttribute, setAttributes, setTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elevation

private final float elevation

radials

protected final Radial[] radials

radarLocation

private final CPoint radarLocation

myUx

private final CVector myUx

myUy

private final CVector myUy

myUz

private final CVector myUz

rangeToFirstGate

private final float rangeToFirstGate
Constructor Detail

RadialSet

public RadialSet(RadialSet master)

Parameters:
master -

RadialSet

public RadialSet(float elevation,
                 Location radarLoc,
                 Date scanTime,
                 float rangeToFirstGate,
                 String typeName,
                 Radial[] radials)
Method Detail

getElevation

public float getElevation()

getRangeToFirstGateKms

public float getRangeToFirstGateKms()
meters


getBeamWidth

public float getBeamWidth()
beamwidth of first radial, or 1 degree if there is no radial.


getNyquist

public float getNyquist()
nyquist of first radial, or 0 if there is no radial.


getAzimuthalSpacing

public float getAzimuthalSpacing()
mean azimuthal spacing of all radials.


getGateWidthKms

public float getGateWidthKms()
gatewidth of first radial, or 1 km if there is no radial.


getNumGates

public int getNumGates()
number of gates of first radial, or 0 if there is no radial.


getNumRadials

public int getNumRadials()

getRadarLocation

public Location getRadarLocation()

getRadarCPoint

public CPoint getRadarCPoint()

getRadials

public Radial[] getRadials()

getRadial

public Radial getRadial(int index)

getVCP

int getVCP()
Returns:
0 if vcp is unknown.

getRawValue

public double getRawValue(float az,
                          float rn)

getRadial

public Radial getRadial(float az)
a very slow implementation

See Also:
NormalizedRadialSet.

getRawValue

public double getRawValue(Location loc)

getRawValue

public double getRawValue(CPoint pt)

getLocation

public CPoint getLocation(int radialno,
                          int gateno)
returns the location of this point in space.


getValueInConicalSpace

public double getValueInConicalSpace(CVector v)
The CVector here should in a co-ordinate system where the radar location is the origin, and the z-axis is perpendicular to the earth's surface, and the y-axis is north-ward.


toStringDB

public String toStringDB()
debugging output

Overrides:
toStringDB in class DataType