Package ucar.nc2.iosp.uf
Class UFheader
- java.lang.Object
-
- ucar.nc2.iosp.uf.UFheader
-
public class UFheader extends Object
Created by IntelliJ IDEA. User: yuanho Date: Sep 24, 2008 Time: 3:53:18 PM To change this template use File | Settings | File Templates.
-
-
Constructor Summary
Constructors Constructor Description UFheader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
bytesToInt(byte[] bytes, boolean swapBytes)
static int
bytesToShort(byte a, byte b, boolean swapBytes)
String
getDataFormat()
Date
getEndDate()
float
getHorizontalBeamWidth(String ab)
int
getMaxRadials()
short
getMissingData()
protected short
getShort(byte[] bytes, int offset)
String
getSiteName()
Date
getStartDate()
short
getStationElevation()
String
getStationId()
float
getStationLatitude()
float
getStationLongitude()
Short
getSweepMode()
boolean
isValidFile(RandomAccessFile raf)
-
-
-
Method Detail
-
isValidFile
public boolean isValidFile(RandomAccessFile raf)
-
getMaxRadials
public int getMaxRadials()
-
getDataFormat
public String getDataFormat()
-
getStartDate
public Date getStartDate()
-
getEndDate
public Date getEndDate()
-
getHorizontalBeamWidth
public float getHorizontalBeamWidth(String ab)
-
getStationId
public String getStationId()
-
getSiteName
public String getSiteName()
-
getSweepMode
public Short getSweepMode()
-
getStationLatitude
public float getStationLatitude()
-
getStationLongitude
public float getStationLongitude()
-
getStationElevation
public short getStationElevation()
-
getMissingData
public short getMissingData()
-
getShort
protected short getShort(byte[] bytes, int offset)
-
bytesToShort
public static int bytesToShort(byte a, byte b, boolean swapBytes)
-
bytesToInt
public static int bytesToInt(byte[] bytes, boolean swapBytes)
-
-