Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 445 Bytes

gribsetbits.rst

File metadata and controls

13 lines (8 loc) · 445 Bytes

gribsetbits

.. py:function:: gribsetbits(number_of_bits)

   Sets the number of GRIB packing bits to ``number_of_bits`` (e.g. 8, 10, 16), and returns the previously used numberernal value.

   :param number number_of_bits: number of bits
   :rtype: number

   This function is particularly useful when dealing with 10-bit satellite images as these require GRIB packing to be set to 10 bits.

.. mv-minigallery:: gribsetbits