On behalf of ECMWF I'm pleased to announce the first public release of `cfgrib`, a Python interface to map GRIB files to the NetCDF Common Data Model following the CF Conventions using ECMWF ecCodes for decoding. Included in the package is a GRIB driver for xarray.
https://pypi.org/project/cfgrib/0.8.4
Please note that the development stage of this project is **Alpha**.
Features:
- provisional GRIB driver for xarray, - support all modern versions of Python 3.7, 3.6, 3.5 and 2.7, plus PyPy and PyPy3, - read the data lazily and efficiently in terms of both memory usage and disk access, - map a GRIB 1 or 2 file to a set of N-dimensional variables following the NetCDF Common Data Model, - add CF Conventions attributes to known coordinate and data variables, - no write support (yet).
The main repository is hosted on GitHub, testing, bug report and contributions are highly welcomed and appreciated. Every little help counts, so do not hesitate!
https://github.com/ecmwf/cfgrib
User support questions are best asked on StackOverflow:
https://stackoverflow.com/search?q=cfgrib
The project is free and open source software distributed under the terms of the Apache License, Version 2.0, the development is led by B-Open http://bopen.eu on behalf of ECMWF https://ecmwf.int.
Cheers, Alessandro
python-announce-list@python.org