IllegalAccessException {
// String fileIn = "/home/yuanho/Download/KCLX_20091019_2021";
String fileIn = "C:/Users/yuanho/Desktop/idvData/cfrad.20080604_002217_000_SPOL_v36_SUR.nc";
// "C:/Users/yuanho/Downloads/Level2_KCBW_20110307_2351.ar2v";
RadialDatasetSweep rds =
(RadialDatasetSweep) TypedDatasetFactory.open(FeatureType.RADIAL,
fileIn, null, new StringBuilder());
//ucar.unidata.util.Trace.call2("LevelII2Dataset:main dataset");
String st = rds.getStartDate().toString();
String et = rds.getEndDate().toString();
String id = rds.getRadarID();
String name = rds.getRadarName();
if (rds.isStationary()) {
System.out.println("*** radar is stationary with name and id: "
+ name + " " + id);
}
List rvars = rds.getDataVariables();
RadialDatasetSweep.RadialVariable vDM =
(RadialDatasetSweep.RadialVariable) rds.getDataVariable(
"DBZ");
float[] adata = vDM.readAllData();
testRadialVariable(vDM);
for (int i = 0; i < rvars.size(); i++) {
RadialDatasetSweep.RadialVariable rv =