ucar.unidata.data.radar
Class VCP

java.lang.Object
  extended by ucar.unidata.data.radar.VCP

public class VCP
extends Object

Static class for describing Volume Coverage Patterns (VCP) for Archive Level II data files. Will probably change in the future. Adapted with permission from the Java Iras software developed by David Priegnitz at NSSL.

Version:
$Revision: 1.11 $ $Date: 2006/12/01 20:42:39 $
Author:
MetApps Development Team

Constructor Summary
VCP()
          Constructor.
 
Method Summary
static double[] getAngles(int vcp)
          Get the elevation angles for a given VCP.
static float getCutAngle(int vcp, int cut)
          Get the elevation angle for a given VCP and cut.
static int getNumCuts(int vcp)
          Get the number of cuts for a particular VCP value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCP

public VCP()
Constructor.

Method Detail

getNumCuts

public static int getNumCuts(int vcp)
Get the number of cuts for a particular VCP value

Parameters:
vcp - value for VCP
Returns:
number of cuts

getCutAngle

public static float getCutAngle(int vcp,
                                int cut)
Get the elevation angle for a given VCP and cut.

Parameters:
vcp - VCP value
cut - cut index
Returns:
elevation angle

getAngles

public static double[] getAngles(int vcp)
Get the elevation angles for a given VCP.

Parameters:
vcp - VCP value
Returns:
array of elevation angle values