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.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

drb_driver_grib-1.3.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file drb-driver-grib-1.3.0.tar.gz.

File metadata

  • Download URL: drb-driver-grib-1.3.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for drb-driver-grib-1.3.0.tar.gz
Algorithm Hash digest
SHA256 32ad755873328f26baa3cb126d5240ef3cb871bb206f9ac9f82fd8595e785ef8
MD5 268e8fe519c8088aaffa95a7667128cf
BLAKE2b-256 bcf4e954292ef652efbcf835aed246a09568bfb90dd426bc4c1a50d4861ec7b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for drb_driver_grib-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27d06bd944530dd5e4f8c1ad7dfc890816cbaa35cb0e87a4b0b4ecf62f6cdd59
MD5 69e686d7a7eefd892284fc08b4da73b4
BLAKE2b-256 342a56441586a91f71e81181ee5c0a136306821a930e4cb7fd4033360b416ba1

See more details on using hashes here.

Supported by

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