ucar.grib.grib1
Class Grib1BitMapSection

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

public final class Grib1BitMapSection
extends 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(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1BitMapSection

public Grib1BitMapSection(RandomAccessFile raf)
                   throws IOException
Constructs a Grib1BitMapSection object from a raf input stream.

Parameters:
raf - input stream with BMS content
Throws:
IOException - if stream can not be opened etc.
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


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