Skip to main content

DRB GRIB driver

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drb_driver_grib-1.3.4.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drb_driver_grib-1.3.4-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file drb_driver_grib-1.3.4.tar.gz.

File metadata

  • Download URL: drb_driver_grib-1.3.4.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for drb_driver_grib-1.3.4.tar.gz
Algorithm Hash digest
SHA256 e395c9a583cc20d57dc34b20bc691a21252c08ea7bce30173943d9df945ee518
MD5 f79cb578daf0b5fe224ad80ef00b04c3
BLAKE2b-256 972936c1a7a914568a5bcc21b3c7ea72808657befe9c3ebd5af044d3aeab56f4

See more details on using hashes here.

File details

Details for the file drb_driver_grib-1.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for drb_driver_grib-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ed9e241109f35b02bbf4e8ebbdbd6659c98872542fa94d4537c15f3d56b7cd
MD5 b954e56fa02ae29307f2b3af728df5e2
BLAKE2b-256 d0e79b705fb45d6be9d5e58c19db161f3de71d498558ea1206e31cecad0a94ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page