Skip to content

Comments

bug: upgrade pygrib version from 2.1.6 to 2.1.8#124

Merged
mackenzie-grimes-noaa merged 3 commits intomainfrom
bug/grib-expected-integer-error
Feb 5, 2026
Merged

bug: upgrade pygrib version from 2.1.6 to 2.1.8#124
mackenzie-grimes-noaa merged 3 commits intomainfrom
bug/grib-expected-integer-error

Conversation

@mackenzie-grimes-noaa
Copy link
Contributor

@mackenzie-grimes-noaa mackenzie-grimes-noaa commented Feb 5, 2026

Linear Issue

IDSSE-1616

Changes

  • Bump pygrib Python library version from 2.1.6 to 2.1.8. Changelog

Explanation

Only in the dev environment (not on my local macos machine), DAS was seeing constant errors when it attempted to read some GRIB variable with pygrib (see DAS shrink_grib code):

RuntimeError: Unable to preserve variables from GRIB file due to exception: 
  (<class 'TypeError'>) an integer is required

The sole maintainer of pygrib has published a new minor version since we last attempted. Maybe there was some mysterious incompatibility with another library we were using that has since been fixed? Or moving from 2.1.4 to 2.1.6 introduced the error?

@mackenzie-grimes-noaa mackenzie-grimes-noaa changed the title bug: upgrade pygrib version from 2.1.6 to 2.1.8 bug: downgrade pygrib version from 2.1.6 to 2.1.4 Feb 5, 2026
@mackenzie-grimes-noaa mackenzie-grimes-noaa marked this pull request as ready for review February 5, 2026 19:00
@mackenzie-grimes-noaa mackenzie-grimes-noaa changed the title bug: downgrade pygrib version from 2.1.6 to 2.1.4 bug: upgrade pygrib version from 2.1.6 to 2.1.8 Feb 5, 2026
@mackenzie-grimes-noaa mackenzie-grimes-noaa merged commit 4b84470 into main Feb 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant