Class Grib2SectionBitMap


  • @Immutable
    public class Grib2SectionBitMap
    extends Object
    The BitMap section 6 for GRIB-2 files
    Since:
    3/29/11
    • Constructor Detail

      • Grib2SectionBitMap

        public Grib2SectionBitMap​(ucar.unidata.io.RandomAccessFile raf)
                           throws IOException
        Throws:
        IOException
    • Method Detail

      • getBitMapIndicator

        public int getBitMapIndicator()
      • getStartingPosition

        public long getStartingPosition()
      • getBitmap

        @Nullable
        public byte[] getBitmap​(ucar.unidata.io.RandomAccessFile raf)
                         throws IOException
        Read the bit map array.
        Parameters:
        raf - read from here
        Returns:
        bit map as array of byte values, or null if none.
        Throws:
        IOException - on read error