Cfgrib

Latest version: v0.9.15.0

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

Scan your dependencies

Page 1 of 9

0.9.15.0

---------------------

- Added `values_dtype` argument to `open_dataset()` to allow control over the type of numpy
array used for the values array (default is `np.dtype("float32")`). Usage:
``ds = xr.open_dataset("data.grib", engine="cfgrib", backend_kwargs={"values_dtype": np.dtype("float64")},)``
See `407 <https://github.com/ecmwf/cfgrib/pull/407>`_.

0.9.14.1

---------------------

- Fixed compatibility with xarray 2024.09.0
See `401 <https://github.com/ecmwf/cfgrib/pull/401>`_.

0.9.14.0

---------------------

- Added `coords_as_attributes` argument to `open_dataset()` to allow selected dimensions
to be stored as attributes rather than dimensions, allowing more heterogeneous data
to be encoded as an xarray dataset.
See `394 <https://github.com/ecmwf/cfgrib/pull/394>`_.

- Added valid_month dimension if monthlyVerificationDate and validityTime are available.
See `393 <https://github.com/ecmwf/cfgrib/pull/393>`_.

- Added uvRelativeToGrid to list of GRIB keys read by default.
See `379 <https://github.com/ecmwf/cfgrib/pull/379>`_.

0.9.13.0

---------------------

- Allow users to pass of list of values to filter a key by.
See `384 <https://github.com/ecmwf/cfgrib/pull/384>`_.

- Functionality to ignore keys when reading a grib file
See `382 <https://github.com/ecmwf/cfgrib/pull/382>`_.

- Preserve coordinate encoding in cfgrib.open_datasets
See `381 <https://github.com/ecmwf/cfgrib/pull/381>`_.

0.9.12.0

---------------------

- fixed issue where GRIB messages with non-hourly steps could not be read
See `370 <https://github.com/ecmwf/cfgrib/pull/370>`_.

0.9.11.0

---------------------

- added automatic caching of geographic coordinates for improved performance
See `341 <https://github.com/ecmwf/cfgrib/pull/341>`_.

- fixed issue where to_grib() could crash if given a dataset with a single-valued dimension
See `347 <https://github.com/ecmwf/cfgrib/issues/347>`_.

- fixed issue where values could not be extracted when alternativeRowScanning=1 and
grid is not represented as 2D
See `358 <https://github.com/ecmwf/cfgrib/issues/358>`_.

- fixed issue where the `grib_errors` parameter was not being handled correctly.
This parameter has now been renamed to `errors`.
See `349 <https://github.com/ecmwf/cfgrib/issues/349>`_.

- dropped support for Python 3.6.
See `363 <https://github.com/ecmwf/cfgrib/issues/363>`_.

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.