Grib2io

Latest version: v2.3.0

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

Scan your dependencies

Page 2 of 6

2.2.0

What's Changed
* Fixed issue when opening GRIB2 files via the xarray backend by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/126
* Added support for MRMS GRIB2 files and [custom MRMS GRIB2 tables](https://www.nssl.noaa.gov/projects/mrms/operational/tables.php) File by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/127
* MRMS GRIB2 files are Gzipped. grib2io can now read Gzipped GRIB2 files, **_but this cannot be done using the xarray backend_**
* Cleanup of GRIB2 message indexing and allow for GRIB1 messages to be ignored by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/129
* Some ECMWF files contain both GRIB1 and GRIB2 messages
* Add support for [PDT 4.32](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp4-32.shtml) by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/130
* Properly mask output data when interpolating from smaller to larger domain by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/133
* Improved docstrings and some type hints. by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/134
* `Grib2Message` class now contains properties `lats` and `lons` by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/135
* Static library build support by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/138
* Expose `bitmap` as public `Grib2Message` attribute by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/140
* Added `to_grib2()` xarray accessor method for `xarray.Dataset` and `xarray.DataArray` objects by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/136
* Improved performance when opening files by removing the use of a 1MB buffer (leftover from grib2io v1.x) and by making `grib2io.open` attrs `levels` and `variables` properties by EricEngle-NOAA in 2fd5219 and 626e28e
* Added NCEP GRIB2 table version number by EricEngle-NOAA in 01e3f62
* Changed `Grib2Message.duration` attribute from being `None` to `datetime.timedelta(hours=0)` by EricEngle-NOAA in 9ef5e53
* Added properties `min`, `max`, `mean`, and `median` to the Grib2Message object by EricEngle-NOAA in 24e4260
* Added ability to control the number of OpenMP threads used for interpolation EricEngle-NOAA in b0d2245

Details about writing to GRIB2 from the Xarray Backend
grib2io v2.2.0 introduces the ability to write GRIB2 files from the xarray backend via `.to_grib2()` accessor methods for `xarray.Dataset` and `xarray.DataArray` objects. At this time, this will only work if xarray objects originated from the grib2io xarray backend. The `.to_grib2()` accessor method leverages xarray attributes `'GRIB2IO_section*'` that are the numeric GRIB2 metadata sections. Future updates to the grib2io xarray backend will further build out this functionality.

**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.1.4...v2.2.0

2.1.4

What's Changed
* A follow up to changes in v2.1.3 -- Fixed the number of longitudes generated for Gaussian grids by alcoat in https://github.com/NOAA-MDL/grib2io/pull/125


**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.1.3...v2.1.4

2.1.3

What's Changed
* Fixed issue (123) that was causing incorrect latitude/longitude values for Gaussian grids by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/124
* Added missing GRIB2 named attribute, `'numberOfParallels'`, for Gaussian grids.


**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.1.2...v2.1.3

2.1.2

What's Changed
* In `setup.py`, added `LD_LIBRARY_PATH` directories to `find_library()` by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/116
* Fixed issue getting latitudes and longitudes in the xarray backend by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/118
* Added support for NAVGEM GRIB2 files which include a text header by TimothyCera-NOAA in https://github.com/NOAA-MDL/grib2io/pull/115
* Fixed import of gaussian_latitudes() by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/122
* Updated NCEP GRIB2 tables

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

**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.1.1...v2.1.2

2.1.1

* Emergency release because I forgot to include VERSION file in MANIFEST.in 😞

2.1.0

What's Changed
* Fixed an issue where template numbers for new Grib2Message objects where not being put into the section array by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/102
* Add support for DRT 5.42 - AEC compression **_(requires NCEPLIBS-g2c v1.8.0 or newer)_** by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/103
* Allow for appending GRIB2 messages to an existing GRIB2 file by alcoat in https://github.com/NOAA-MDL/grib2io/pull/104
* Provide lookup functions for GRIB2 variable shortNames by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/109
* Fixed threshold metadata issues for GRIB2 PDTs 4.5 and 4.9 by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/106 and in https://github.com/NOAA-MDL/grib2io/pull/110
* Added support for Grid Definition Template 32769 and generation of lats and lons for this grid by EricEngle-NOAA in https://github.com/NOAA-MDL/grib2io/pull/111
* Updated demo Jupyter Notebooks by eengl in https://github.com/NOAA-MDL/grib2io/pull/112
* Updated GRIB2 tables and docstring cleanup.
* Added `__index__` for Grib2Metadata class (0dc99b2) and `show_table()` method (2cadd5d).
* Fixed an issue where the correct number of grid points would be missing from `Grib2Message.section3[1]`. (8bce22c)
* Added module-level variables `has_aec_support`, `has_jpeg_support`, and `has_png_support` for testing the availability of 3rd party compression features from NCEPLIBS-g2c. (12c6db7)

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

**Full Changelog**: https://github.com/NOAA-MDL/grib2io/compare/v2.0.2...v2.1.0

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.