ucar.grib.grib1
Class Grib1IndicatorSection

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

public final class Grib1IndicatorSection
extends java.lang.Object

A class that represents the IndicatorSection of a GRIB record.

Version:
1.0
Author:
Robb Kambic

Constructor Summary
Grib1IndicatorSection(ucar.unidata.io.RandomAccessFile raf)
          Constructs a Grib1IndicatorSection object from a byteBuffer.
 
Method Summary
 int getGribEdition()
          Get the edition of the GRIB specification used.
 long getGribLength()
          Get the byte length of this GRIB record.
 int getLength()
          Get the byte length of the IndicatorSection0 section.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1IndicatorSection

public Grib1IndicatorSection(ucar.unidata.io.RandomAccessFile raf)
                      throws NotSupportedException,
                             java.io.IOException
Constructs a Grib1IndicatorSection object from a byteBuffer.

Parameters:
raf - RandomAccessFile with IndicatorSection content
Throws:
NotSupportedException - if raf contains no valid GRIB file
java.io.IOException
Method Detail

getGribLength

public final long getGribLength()
Get the byte length of this GRIB record.

Returns:
length in bytes of GRIB record

getLength

public final int getLength()
Get the byte length of the IndicatorSection0 section.

Returns:
length in bytes of IndicatorSection0 section

getGribEdition

public final int getGribEdition()
Get the edition of the GRIB specification used.

Returns:
edition number of GRIB specification