Package ucar.nc2.iosp.cinrad
Class Cinrad2VolumeScan
- java.lang.Object
-
- ucar.nc2.iosp.cinrad.Cinrad2VolumeScan
-
public class Cinrad2VolumeScan extends Object
This class reads a CINRAD level II data file. It can handle NCDC archives (ARCHIVE2), as well as CRAFT/IDD compressed files (AR2V0001). Adapted with permission from the Java Iras software developed by David Priegnitz at NSSL.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDataFormat()
Get data format (ARCHIVE2, AR2V0001) for this file.int
getDopplarResolution()
Date
getEndDate()
int
getMaxRadials()
int
getMinRadials()
List
getReflectivityGroups()
Get Reflectivity Groups Groups are all the records for a variable and elevation_num;Date
getStartDate()
double
getStationElevation()
String
getStationId()
Get the 4-char station ID for this dataString
getStationID(String location)
double
getStationLatitude()
double
getStationLongitude()
String
getStationName()
int
getTitleJulianDays()
Get the starting Julian day for this volumeint
getTitleMsecs()
Get the starting time in seconds since midnight.int
getVCP()
Get the Volume Coverage Pattern number for this data.List
getVelocityGroups()
Get Velocity Groups Groups are all the records for a variable and elevation_num;boolean
hasDifferentDopplarResolutions()
static long
testValid(String ufilename)
-
-
-
Field Detail
-
ARCHIVE2
public static final String ARCHIVE2
- See Also:
- Constant Field Values
-
AR2V0001
public static final String AR2V0001
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaxRadials
public int getMaxRadials()
-
getMinRadials
public int getMinRadials()
-
getDopplarResolution
public int getDopplarResolution()
-
hasDifferentDopplarResolutions
public boolean hasDifferentDopplarResolutions()
-
getReflectivityGroups
public List getReflectivityGroups()
Get Reflectivity Groups Groups are all the records for a variable and elevation_num;- Returns:
- List of type List of type Cinrad2Record
-
getVelocityGroups
public List getVelocityGroups()
Get Velocity Groups Groups are all the records for a variable and elevation_num;- Returns:
- List of type List of type Cinrad2Record
-
getDataFormat
public String getDataFormat()
Get data format (ARCHIVE2, AR2V0001) for this file.
-
getTitleJulianDays
public int getTitleJulianDays()
Get the starting Julian day for this volume- Returns:
- days since 1/1/70.
-
getTitleMsecs
public int getTitleMsecs()
Get the starting time in seconds since midnight.- Returns:
- Generation time of data in milliseconds of day past midnight (UTC).
-
getVCP
public int getVCP()
Get the Volume Coverage Pattern number for this data.- Returns:
- VCP
- See Also:
Cinrad2Record.getVolumeCoveragePatternName(int)
-
getStationId
public String getStationId()
Get the 4-char station ID for this data- Returns:
- station ID (may be null)
-
getStationName
public String getStationName()
-
getStationLatitude
public double getStationLatitude()
-
getStationLongitude
public double getStationLongitude()
-
getStationElevation
public double getStationElevation()
-
getStartDate
public Date getStartDate()
-
getEndDate
public Date getEndDate()
-
testValid
public static long testValid(String ufilename) throws IOException
- Throws:
IOException
-
-