Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@byphilipp
Copy link
Contributor

When a file is on a remote server it is convenient to be able to read it from memory without creating a local copy.

@EricEngle-NOAA
Copy link
Collaborator

Hi @byphilipp - Thanks for contributing. Please provide a test for this new functionality.

@EricEngle-NOAA EricEngle-NOAA changed the base branch from master to read-from-bytes July 26, 2025 01:51
@EricEngle-NOAA EricEngle-NOAA merged commit 5a3ce9c into NOAA-MDL:read-from-bytes Jul 26, 2025
12 checks passed
EricEngle-NOAA added a commit that referenced this pull request Jul 26, 2025
* Adding support read grib from bytes (#197)

* Adding support read grib from bytes

* Add test_from_bytes.py

[skip ci]

* Update _grib2io.py

Minor changes from pull request for reading bytes.

grib2io.open() now accepts filename arg as str, bytes, or Path.

---------

Co-authored-by: byphilipp <[email protected]>
Co-authored-by: Eric Engle <[email protected]>
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.

2 participants