net.sourceforge.jgrib
Class GribRecordLight

java.lang.Object
  extended by net.sourceforge.jgrib.GribRecordLight

public class GribRecordLight
extends java.lang.Object

Author:
Benjamin Stark

Field Summary
protected  byte[] buf
          Array with bytes
protected  GribRecordGDS gds
          The grid definition section.
protected  GribRecordIS is
          The indicator section.
protected  GribRecordPDS pds
          The product definition section.
 
Constructor Summary
GribRecordLight(GribRecordIS aIs, GribRecordPDS aPds, GribRecordGDS aGds, byte[] aBuf)
           
 
Method Summary
 byte[] getBuf()
          Get buffer with bds and bms
 GribRecordGDS getGDS()
          Get Grid Definition record
 GribRecordIS getIS()
          Get Information record
 GribRecordPDS getPDS()
          Get Product Definition record
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

is

protected GribRecordIS is
The indicator section.


pds

protected GribRecordPDS pds
The product definition section.


gds

protected GribRecordGDS gds
The grid definition section.


buf

protected byte[] buf
Array with bytes

Constructor Detail

GribRecordLight

public GribRecordLight(GribRecordIS aIs,
                       GribRecordPDS aPds,
                       GribRecordGDS aGds,
                       byte[] aBuf)
Parameters:
aIs - IS section
aPds - PDS section
aGds - GDS section
aBuf - buffer with rest of data
Method Detail

getIS

public GribRecordIS getIS()
Get Information record

Returns:
an IS record

getPDS

public GribRecordPDS getPDS()
Get Product Definition record

Returns:
a PDS record

getGDS

public GribRecordGDS getGDS()
Get Grid Definition record

Returns:
a gds

getBuf

public byte[] getBuf()
Get buffer with bds and bms

Returns:
a buffer of BDS and BMS