Grib2io

Latest version: v2.4.0

Safety actively analyzes 722898 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.4.0

Introduction
This is a significant release for grib2io -- notably the refactoring of the g2clib Cython extension module and the introduction of a new Cython extension module, `iplib`, that provides an interface to the NCEPLIBS-ip Fortran interpolation library. This now means that [grib2io-interp](https://github.com/NOAA-MDL/grib2io-interp) is no longer necessary to install as an additional component and its development is no longer active.

These changes also now make grib2io available for Python 3.13 and NumPy 2.x

What's Changed
* Clean up date/time attribute setting. by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/159
* Add aerosol related updates by bbakernoaa in https://github.com/NOAA-MDL/grib2io/pull/161
* Fix dimensionality bug in the xarray backend by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/165
* Fix incorrect leadtime for sub hourly values by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/168
* New Cython extension module, `iplib`, to interface the NCEPLIBS-ip with support for OpenMP threading setting and getting by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/170
* Refactor g2clib Cython extension module by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/171
* Support for Python 3.13 and numpy 2.x by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/173
* Updates to setup.py to allow more control when building with static libs by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/175

New Contributors
* bbakernoaa made their first contribution in https://github.com/NOAA-MDL/grib2io/pull/161

**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.3.0...v2.4.0

2.3.0

What's Changed
* New method, `subset()`, for `Grib2Message` objects to perform spatial subsetting by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/155
* Added new `da.grib2io.update_attrs()` to update message attributes by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/154
* NCEP GRIB2 tables updated to version 33.0.0


**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.2.5...v2.3.0

2.2.5

What's Changed
* Fixed `to_grib2()` writing an xarray without dimensional coordinates by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/152
* Fixed issue where the `nbytes` property was not being calculated when printing Datasets on xarray>2024.1.0 by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/153


**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.2.4...v2.2.5

2.2.4

What's Changed
* grib2io will now silently ignore non-GRIB2 data in a file, but will warn when a GRIB1 message is encounter (existing behavior) by EricEngle-NOAA in 65557cc

**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.2.3...v2.2.4

2.2.3

What's Changed
* Change to match shapes for setting leadTime attrs. by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/147
* Added optional xarray dependency. by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/148
* Fix 144 by alcoat in https://github.com/NOAA-MDL/grib2io/pull/149
* Add or edit multiple __set__ functions. by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/150
* Added mode="x" new to open by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/151
* Fixed issue reading "GRIB" header by EricEngle-NOAA in 2ae039d


**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.2.2...v2.2.3

2.2.2

What's Changed
* Fixed a bug where grib2io was not properly opening Gzipped GRIB2 files by EricEngle-NOAA in 95e397d
* Fixed an issue with the scenario where of calling `flush_data()` on a `Grib2Message` object created from a user (i.e. not read from file) would raise an error by EricEngle-NOAA in 95e397d
* Fixed an issue with the scenario of calling `pack()` method for a `Grib2Message` object where data are `None`. Moving forward, `pack()` will attempt to pack data if it can be found (i.e. reading data from disk) by EricEngle-NOAA in 95e397d
* Cleaned up logic of handling the `Grib2MessageOnDiskArray` object in the `Grib2Message` object when flushing unpacked data. Moving forward, the `Grib2Message._data` private attribute will be either `None` or `numpy.ndarray` and `Grib2Message._ondiskarray` will always be `None` or `Grib2MessageOnDiskArray`. by EricEngle-NOAA in 95e397d

**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.2.1...v2.2.2

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.