Skip to main content

GRIB driver

This drb-driver-grib module implements grib format access with DRB data model. It is able to navigate among the grib contents.

GRIB Factory and GRIB Node

The module implements the basic factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is drb.driver.
The driver name is grib.
The factory class DrbGribFactory is encoded into drb.drivers.factory module.

The GRIB data model containing a set of Attributes, Dimensions; Coordinates and Variables. It also includes User-defined set of types. The Drb structure implemented here, reproduces this representation. Attributes are reported in node as node attributes whereas Coordinates, Dimensions and Values are reported as node children. The raw content is available in Variable node requesting array (xarray, or numpy ndarray types)

limitations

The current version does not manage child modification and insertion. DrbGribNode is currently read only. The factory to build DrbGribNode supports file directly opening it with path, for other implementation BytesIO or BufferedIOBase, they are manged with a local temporary file, removed when the node is closed..

Using this module

To include this module into your project, the drb-driver-grib module shall be referenced into requirements.txt file, or the following pip line can be run:

pip install drb-driver-grib

This module depends on cfgrib

See installation of cfgrib, on https://pypi.org/project/cfgrib/ If you install it by pip install you need to install the ECMWF ecCodes library. See https://confluence.ecmwf.int/display/ECC/ecCodes+installation.

Metadata

Release files for drb-driver-grib 1.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drb-driver-grib 1.3.4
File Size Uploaded
drb_driver_grib-1.3.4.tar.gz 29.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drb-driver-grib 1.3.4
File Interpreter ABI Platform
drb_driver_grib-1.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 39.6 kB

Release files / drb_driver_grib-1.3.4.tar.gz

Download URL drb_driver_grib-1.3.4.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e395c9a583cc20d57dc34b20bc691a21252c08ea7bce30173943d9df945ee518
BLAKE2b-256 checksum
How to use checksums
972936c1a7a914568a5bcc21b3c7ea72808657befe9c3ebd5af044d3aeab56f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / drb_driver_grib-1.3.4-py3-none-any.whl

Download URL drb_driver_grib-1.3.4-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4ed9e241109f35b02bbf4e8ebbdbd6659c98872542fa94d4537c15f3d56b7cd
BLAKE2b-256 checksum
How to use checksums
d0e79b705fb45d6be9d5e58c19db161f3de71d498558ea1206e31cecad0a94ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.3.4 This release

2 release files

1.3.3

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page