visad.bom
Class RadarFile

java.lang.Object
  extended by visad.bom.RadarFile

public class RadarFile
extends Object

RadarFile

Author:
- James Kelly : J.Kelly@bom.gov.au converted from Phil Purdam's radl_cnvt.c

Nested Class Summary
 class RadarFile.PolarByteData
           
 
Field Summary
 float azimuthres
           
 byte[] bdata
           
 double dRadarTime
           
 DateTime dtTime
           
 float elev
           
 RadarFile.PolarByteData pbdata
           
 RadarFile.PolarByteData[] pbdataArray
           
 Vector pbvector
           
 byte[][] radial
           
 float rngres
           
 float startrng
           
 
Constructor Summary
RadarFile(String radarSource)
           
 
Method Summary
 DateTime getRadarTime()
          Retrieves the time of the radar image as a VisAD DateTime.
 double getTime()
          Retrieves the time of the radar image as a double.
 void readHeader(char[] cbuff)
           
 void readRadial()
           
 void setRadarTime(String timeStamp)
           
 void setTime(String radarTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dtTime

public DateTime dtTime

dRadarTime

public double dRadarTime

rngres

public float rngres

startrng

public float startrng

azimuthres

public float azimuthres

elev

public float elev

radial

public byte[][] radial

bdata

public byte[] bdata

pbvector

public Vector pbvector

pbdata

public RadarFile.PolarByteData pbdata

pbdataArray

public RadarFile.PolarByteData[] pbdataArray
Constructor Detail

RadarFile

public RadarFile(String radarSource)
          throws IOException
Throws:
IOException
Method Detail

getTime

public double getTime()
Retrieves the time of the radar image as a double.

Returns:
image time

setTime

public void setTime(String radarTime)

getRadarTime

public DateTime getRadarTime()
Retrieves the time of the radar image as a VisAD DateTime.

Returns:
image time

setRadarTime

public void setRadarTime(String timeStamp)
                  throws VisADException
Throws:
VisADException

readHeader

public void readHeader(char[] cbuff)

readRadial

public void readRadial()
                throws IOException
Throws:
IOException