ucar.nc2.iosp.nexrad2
Class Level2VolumeScan

java.lang.Object
  extended by ucar.nc2.iosp.nexrad2.Level2VolumeScan

public class Level2VolumeScan
extends Object

This class reads a NEXRAD 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

Author:
caron, David Priegnitz

Field Summary
static String AR2V0001
           
static String AR2V0002
           
static String AR2V0003
           
static String AR2V0004
           
static String AR2V0006
           
static String ARCHIVE2
           
 
Method Summary
 String getDataFormat()
          Get data format (ARCHIVE2, AR2V0001) for this file.
 int getDopplarResolution()
           
 Date getEndDate()
           
 List<List<Level2Record>> getHighResCoeffocientGroups()
           
 List<List<Level2Record>> getHighResDiffPhaseGroups()
           
 List<List<Level2Record>> getHighResDiffReflectGroups()
           
 List<List<Level2Record>> getHighResReflectivityGroups()
           
 List<List<Level2Record>> getHighResSpectrumGroups()
           
 List<List<Level2Record>> getHighResVelocityGroups()
           
 int getMaxRadials(int r)
           
 int getMinRadials(int r)
           
 List<List<Level2Record>> 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 data
 double getStationLatitude()
           
 double getStationLongitude()
           
 String getStationName()
           
 int getTitleJulianDays()
          Get the starting Julian day for this volume
 int getTitleMsecs()
          Get the starting time in seconds since midnight.
 int getVCP()
          Get the Volume Coverage Pattern number for this data.
 List<List<Level2Record>> getVelocityGroups()
          Get Velocity Groups Groups are all the records for a variable and elevation_num;
 boolean hasDifferentDopplarResolutions()
           
 boolean hasHighResolutions(int dt)
           
static void main(String[] args)
           
static void main2(String[] args)
          test
static long testValid(String ufilename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARCHIVE2

public static final String ARCHIVE2
See Also:
Constant Field Values

AR2V0001

public static final String AR2V0001
See Also:
Constant Field Values

AR2V0002

public static final String AR2V0002
See Also:
Constant Field Values

AR2V0003

public static final String AR2V0003
See Also:
Constant Field Values

AR2V0004

public static final String AR2V0004
See Also:
Constant Field Values

AR2V0006

public static final String AR2V0006
See Also:
Constant Field Values
Method Detail

getMaxRadials

public int getMaxRadials(int r)

getMinRadials

public int getMinRadials(int r)

getDopplarResolution

public int getDopplarResolution()

hasDifferentDopplarResolutions

public boolean hasDifferentDopplarResolutions()

hasHighResolutions

public boolean hasHighResolutions(int dt)

getReflectivityGroups

public List<List<Level2Record>> getReflectivityGroups()
Get Reflectivity Groups Groups are all the records for a variable and elevation_num;

Returns:
List of type List of type Level2Record

getVelocityGroups

public List<List<Level2Record>> getVelocityGroups()
Get Velocity Groups Groups are all the records for a variable and elevation_num;

Returns:
List of type List of type Level2Record

getHighResVelocityGroups

public List<List<Level2Record>> getHighResVelocityGroups()

getHighResReflectivityGroups

public List<List<Level2Record>> getHighResReflectivityGroups()

getHighResSpectrumGroups

public List<List<Level2Record>> getHighResSpectrumGroups()

getHighResDiffReflectGroups

public List<List<Level2Record>> getHighResDiffReflectGroups()

getHighResDiffPhaseGroups

public List<List<Level2Record>> getHighResDiffPhaseGroups()

getHighResCoeffocientGroups

public List<List<Level2Record>> getHighResCoeffocientGroups()

getDataFormat

public String getDataFormat()
Get data format (ARCHIVE2, AR2V0001) for this file.

Returns:
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:
Level2Record.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

main2

public static void main2(String[] args)
                  throws IOException
test

Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.