Package ucar.unidata.data.radar
Class VCP
java.lang.Object
ucar.unidata.data.radar.VCP
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
VCP
public VCP()Constructor.
-
-
Method Details
-
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 valuecut
- 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
-