Package ucar.nc2.iosp.sigmet
Class Ray
- java.lang.Object
-
- ucar.nc2.iosp.sigmet.Ray
-
public class Ray extends Object
- Since:
- Apr 7, 2010
-
-
Constructor Summary
Constructors Constructor Description Ray(float range, float step, float az, float elev, short bins, int time, int offset, int dataRead, int offset1, int nsweep, String name, short datatype, int bytesPerBin)
Ray(float range, float step, float az, float elev, short bins, short bins_actual, int time, int offset, int dataRead, int offset1, int nsweep, String name, short datatype, int bytesPerBin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
float
getAz()
short
getBins()
short
getBinsActual()
int
getBytesPerBin()
int
getDataRead()
short
getDataType()
float
getElev()
String
getName()
int
getNsweep()
int
getOffset()
int
getOffset1()
float
getRange()
float
getStep()
int
getTime()
int
hashCode()
void
readData(RandomAccessFile raf, Range gateRange, IndexIterator ii)
Read data from this record.void
setAz(float az)
void
setBins(short bins)
void
setBinsActual(short bins_actual)
void
setBytesPerBin(int bytesPerBin)
void
setDataRead(int dataRead)
void
setDataType(short datatype)
void
setElev(float elev)
void
setName(String name)
void
setNsweep(int nsweep)
void
setOffset(int offset)
void
setOffset1(int offset1)
void
setRange(float range)
void
setStep(float step)
void
setTime(int time)
String
toString()
-
-
-
Constructor Detail
-
Ray
public Ray(float range, float step, float az, float elev, short bins, int time, int offset, int dataRead, int offset1, int nsweep, String name, short datatype, int bytesPerBin)
-
Ray
public Ray(float range, float step, float az, float elev, short bins, short bins_actual, int time, int offset, int dataRead, int offset1, int nsweep, String name, short datatype, int bytesPerBin)
-
-
Method Detail
-
getDataType
public short getDataType()
-
setDataType
public void setDataType(short datatype)
-
getBytesPerBin
public int getBytesPerBin()
-
setBytesPerBin
public void setBytesPerBin(int bytesPerBin)
-
getRange
public float getRange()
-
setRange
public void setRange(float range)
-
getStep
public float getStep()
-
setStep
public void setStep(float step)
-
getNsweep
public int getNsweep()
-
setNsweep
public void setNsweep(int nsweep)
-
getAz
public float getAz()
-
setAz
public void setAz(float az)
-
getElev
public float getElev()
-
setElev
public void setElev(float elev)
-
getBins
public short getBins()
-
setBins
public void setBins(short bins)
-
getBinsActual
public short getBinsActual()
-
setBinsActual
public void setBinsActual(short bins_actual)
-
getTime
public int getTime()
-
setTime
public void setTime(int time)
-
getOffset
public int getOffset()
-
setOffset
public void setOffset(int offset)
-
getDataRead
public int getDataRead()
-
setDataRead
public void setDataRead(int dataRead)
-
getOffset1
public int getOffset1()
-
setOffset1
public void setOffset1(int offset1)
-
setName
public void setName(String name)
-
getName
public String getName()
-
readData
public void readData(RandomAccessFile raf, Range gateRange, IndexIterator ii) throws IOException
Read data from this record.- Parameters:
raf
- read from this filegateRange
- handles the possible subset of data to returnii
- put the data here- Throws:
IOException
- on read error
-
-