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.
Documentation on Archive Level II data format can be found at: http://www.ncdc.noaa.gov/oa/radar/leveliidoc.html
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataFormat()Get data format (ARCHIVE2, AR2V0001) for this file.intgetDopplarResolution()DategetEndDate()intgetMaxRadials()intgetMinRadials()ListgetReflectivityGroups()Get Reflectivity Groups Groups are all the records for a variable and elevation_num;DategetStartDate()doublegetStationElevation()StringgetStationId()Get the 4-char station ID for this dataStringgetStationID(String location)doublegetStationLatitude()doublegetStationLongitude()StringgetStationName()intgetTitleJulianDays()Get the starting Julian day for this volumeintgetTitleMsecs()Get the starting time in seconds since midnight.intgetVCP()Get the Volume Coverage Pattern number for this data.ListgetVelocityGroups()Get Velocity Groups Groups are all the records for a variable and elevation_num;booleanhasDifferentDopplarResolutions()static longtestValid(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
-
-