ucar.grib.grib1
Class Grib1BitMapSection

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

public final class Grib1BitMapSection
extends java.lang.Object

A class that represents the bitmap section (BMS) of a GRIB record. It indicates grid points where no grid value is defined by a 0.

Version:
1.0

Constructor Summary
Grib1BitMapSection(ucar.unidata.io.RandomAccessFile raf)
          Constructs a Grib1BitMapSection object from a raf input stream.
 
Method Summary
 boolean[] getBitmap()
          Get bit map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1BitMapSection

public Grib1BitMapSection(ucar.unidata.io.RandomAccessFile raf)
                   throws java.io.IOException
Constructs a Grib1BitMapSection object from a raf input stream.

Parameters:
raf - input stream with BMS content
Throws:
java.io.IOException - if stream can not be opened etc.
java.io.IOException - if stream contains no valid GRIB file
Method Detail

getBitmap

public final boolean[] getBitmap()
Get bit map.

Returns:
bit map as array of boolean values