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 intbytesToInt(byte[] bytes, boolean swapBytes)static intbytesToShort(byte a, byte b, boolean swapBytes)StringgetDataFormat()DategetEndDate()floatgetHorizontalBeamWidth(String ab)intgetMaxRadials()shortgetMissingData()protected shortgetShort(byte[] bytes, int offset)StringgetSiteName()DategetStartDate()shortgetStationElevation()StringgetStationId()floatgetStationLatitude()floatgetStationLongitude()ShortgetSweepMode()booleanisValidFile(ucar.unidata.io.RandomAccessFile raf)
-
-
-
Method Detail
-
isValidFile
public boolean isValidFile(ucar.unidata.io.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)
-
-