Releases: NOAA-MDL/grib2io
grib2io v2.7.0
What's Changed
- Fixed an issue with
grib2io.openclass properties by @EricEngle-NOAA in #219 - Fixed issue with calculating
validTimein the Xarray backend by @TylerWixtrom-NOAA in #222 - Added ability to correctly mask values to
NaNwhen interpolating to stations where a station might be outside the grid domain by @EricEngle-NOAA in #226 - Add
save_indexoptions to the Xarray backend by @tsupinie in #225 - Fixed an issue to correctly handle negative scale factors values by @EricEngle-NOAA in #227
- Fixed an issue with an error return from
parse_grib_indexin the Xarray backend when filtering down to no messages by @AdamSchnapp in #228 - Updated NCEP GRIB2 tables to version 36.0.0
New Contributors
Full Changelog: v2.6.0...v2.7.0
grib2io v2.6.0
What's Changed
- Added DataTree support for the xarray backend by @bbakernoaa in #193
- Support for
data_modelkwarg in xarray backend by @TylerWixtrom-NOAA in #201- Support for
data_model='nws-viz'which will add CF metadata to xarray objects.
- Support for
- Use Cython's OpenMP bindings for iplib by @EricEngle-NOAA in #195
- Safer integer scaling of floating-point values by @EricEngle-NOAA in #198
- Support for decoding GRIB2 messages from bytes (not from
grib2io.open()) @byphilipp in #199 - Support for Python 3.14 by @EricEngle-NOAA in #212
- grib2io-specific Index file support by @AdamSchnapp in #209
- Data shape and type checking when creating a GRIB2 message by @EricEngle-NOAA in #214
- Added a
.copy()method forGrib2Messageobjects by @EricEngle-NOAA in #216 - NCEP GRIB2 tables updated to
Version 35.0.0 - May 19, 2025
Full Changelog: v2.5.4...v2.6.0
grib2io v2.5.4
What's Changed
- No code change in this release. This release removes tests and test data from the release package, significantly reducing the package size from ~100 MB to just around 1 MB.
Full Changelog: v2.5.3...v2.5.4
grib2io v2.5.3
This is a very minor patch release.
What's Changed
- Removed the duration attribute from being added to the lead time in the
Grib2Message.__str__. - Updated NCEP GRIB2 tables.
Notice
A near-future grib2io release will remove the test data from the release packages, significantly reducing file size.
Full Changelog: v2.5.2...v2.5.3
grib2io v2.5.2
What's Changed
- Fixed issue with interpolation when using xarray backend or 3D array by @EricEngle-NOAA in #191
- Related to #191 the interpolation functions will now check the input data-type and convert to
np.float32if needed. This is the data type required since grib2io links to the 4-byte NCEPLIBS-ip library.
Full Changelog: v2.5.1...v2.5.2
grib2io v2.5.1
What's Changed
- Improved
setup.pywhen building with a static NCEPLIBS-ip library by @EricEngle-NOAA in #186 - Fixed bug with leadTime attribute by @EricEngle-NOAA in #188
Note about NCEPLIBS-ip
- The minimum version for NCEPLIBS-ip is now v5.1.0. It should have been this since grib2io v2.4.0.
Full Changelog: v2.5.0...v2.5.1
grib2io v2.5.0
What's Changed
- Support for NDFD WWA Hazard Keys by @EricEngle-NOAA in #179
- Added
section6dataclass array andbitMapFlagdataclass attribute linked toBitMapFlagdescriptor class by @EricEngle-NOAA in #179
Full Changelog: v2.4.0...v2.5.0
grib2io v2.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 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 #159
- Add aerosol related updates by @bbakernoaa in #161
- Fix dimensionality bug in the xarray backend by @EricEngle-NOAA in #165
- Fix incorrect leadtime for sub hourly values by @EricEngle-NOAA in #168
- New Cython extension module,
iplib, to interface the NCEPLIBS-ip with support for OpenMP threading setting and getting by @EricEngle-NOAA in #170 - Refactor g2clib Cython extension module by @EricEngle-NOAA in #171
- Support for Python 3.13 and numpy 2.x by @EricEngle-NOAA in #173
- Updates to setup.py to allow more control when building with static libs by @EricEngle-NOAA in #175
New Contributors
- @bbakernoaa made their first contribution in #161
Full Changelog: v2.3.0...v2.4.0
grib2io v2.3.0
What's Changed
- New method,
subset(), forGrib2Messageobjects to perform spatial subsetting by @TimothyCera-NOAA in #155 - Added new
da.grib2io.update_attrs()to update message attributes by @TimothyCera-NOAA in #154 - NCEP GRIB2 tables updated to version 33.0.0
Full Changelog: v2.2.5...v2.3.0
grib2io v2.2.5
What's Changed
- Fixed
to_grib2()writing an xarray without dimensional coordinates by @TimothyCera-NOAA in #152 - Fixed issue where the
nbytesproperty was not being calculated when printing Datasets on xarray>2024.1.0 by @TimothyCera-NOAA in #153
Full Changelog: v2.2.4...v2.2.5