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 navigates 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 ByteIO 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.1.tar.gz (29.0 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.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for drb_driver_grib-1.3.1.tar.gz
Algorithm Hash digest
SHA256 a646594da32c3bae5dbc1e8be986bb39c69b49772983c22ffa657c21f119afe5
MD5 5c571e7a2b953f33058a7620b4a39c97
BLAKE2b-256 9c5ac0f341db9fe86303012181fddddb36e16bb28988a9444d0f0bfd76d622cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for drb_driver_grib-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d4a2b086f8b0d160c43c9eb69737ef3abf98d7bf761124040a67b836f6b1c98
MD5 7e3d297313a9853f874dd1118ebaa305
BLAKE2b-256 8a6a979f930ac586abaf9a6ee3ab9f1fd51d6c0f69a24a976c46bc8194cf3918

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