ucar.nc2.iosp.uf
Class UFheader

java.lang.Object
  extended by 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
UFheader()
           
 
Method Summary
static int bytesToInt(byte[] bytes, boolean swapBytes)
           
static int bytesToShort(byte a, byte b, boolean swapBytes)
           
 String getDataFormat()
           
 Date getEndDate()
           
 List getGroup(String key)
           
 float getHorizontalBeamWidth(String ab)
           
 int getMaxRadials()
           
 float getMeanElevation(ArrayList<Ray> gList)
           
 float getMeanElevation(String key, int eNum)
           
 short getMissingData()
           
protected  short getShort(byte[] bytes, int offset)
           
 Date getStartDate()
           
 float getStationElevation()
           
 String getStationId()
           
 float getStationLatitude()
           
 float getStationLongitude()
           
 Short getSweepMode()
           
 boolean isValidFile(RandomAccessFile raf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UFheader

public UFheader()
Method Detail

isValidFile

public boolean isValidFile(RandomAccessFile raf)

getMeanElevation

public float getMeanElevation(String key,
                              int eNum)

getMeanElevation

public float getMeanElevation(ArrayList<Ray> gList)

getGroup

public List getGroup(String key)

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()

getSweepMode

public Short getSweepMode()

getStationLatitude

public float getStationLatitude()

getStationLongitude

public float getStationLongitude()

getStationElevation

public float 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)


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