NOAA-MDL / grib2io

Python interface to the NCEP G2C Library for reading and writing GRIB2 messages.
https://noaa-mdl.github.io/grib2io
MIT License
33 stars 12 forks source link

pack() hanging when bit map is present #62

Closed EricEngle-NOAA closed 1 year ago

EricEngle-NOAA commented 1 year ago

First reported by @kevmcgrath, grib2io hangs when packing a Grib2Message object when I bitmap is present.

EricEngle-NOAA commented 1 year ago

Culprit was some leftover code in the pack() method that still assumed bitmapped Grib2Message objects were using masked arrays. This is no longer the case so no bit map data were being generated.

Ref for discussion #61