ucar.grib.grib1
Class Grib1Record

java.lang.Object
  extended by ucar.grib.grib1.Grib1Record

public final class Grib1Record
extends java.lang.Object

Grib1Record contains all the sections of a Grib record.

Author:
Robb Kambic 11/13/03

Constructor Summary
Grib1Record(java.lang.String hdr, Grib1IndicatorSection aIs, Grib1ProductDefinitionSection aPds, Grib1GridDefinitionSection aGds, long offset, long recOffset)
          Constructor.
 
Method Summary
 long getDataOffset()
          Get offset to bms.
 Grib1GridDefinitionSection getGDS()
          Get Grid Definition record.
 java.lang.String getHeader()
          Get header.
 Grib1IndicatorSection getIs()
          Get Information record.
 Grib1ProductDefinitionSection getPDS()
          Get Product Definition record.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1Record

public Grib1Record(java.lang.String hdr,
                   Grib1IndicatorSection aIs,
                   Grib1ProductDefinitionSection aPds,
                   Grib1GridDefinitionSection aGds,
                   long offset,
                   long recOffset)
Constructor.

Parameters:
hdr - record header
aIs - IS section
aPds - PDS section
aGds - GDS section
offset - to the BMS/BDS section of file
recOffset - to the EndOfRecord
Method Detail

getHeader

public final java.lang.String getHeader()
Get header.

Returns:
header

getIs

public final Grib1IndicatorSection getIs()
Get Information record.

Returns:
an IS record

getPDS

public final Grib1ProductDefinitionSection getPDS()
Get Product Definition record.

Returns:
a PDS record

getGDS

public final Grib1GridDefinitionSection getGDS()
Get Grid Definition record.

Returns:
a

getDataOffset

public final long getDataOffset()
Get offset to bms.

Returns:
long