Skip to main content

DRB Netcdf implementation

Project description

Netcdf Implementation

This module implements netcdf format access with DRB data model. It is able to navigates among the netcdf contents.

Netcdf Factory and Netcdf 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.impl.
The implementation name is netcdf.
The factory class is decribed with implementation drb_impl_netcdf.drb_impl_signature.

The netCDF 4.0 data model is based on recusive structure of Groups each containing a set of Attributes, Dimensions 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 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. DrbNetcdfNode is currently read only. The factory to build DrbNetcdfNode 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..

limitations HDF-EOS file

When open a HDF-EOS file in HDF4 format If fails with message:[Errno -128] NetCDF: Attempt to use feature that was not turned on when netCDF was built This means that NetCDF system library linked with netCDF4 python wasn't compiled with HDF4 support. You can try to install netCDF4 python by conda

conda install -c conda-forge netcdf4

Or rebuild netCDF4 locally with netCDF library with support hdf4 turned ON

Using this module

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

pip install drb-impl-netcdf

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-impl-netcdf-1.0.5.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

drb_impl_netcdf-1.0.5-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file drb-impl-netcdf-1.0.5.tar.gz.

File metadata

  • Download URL: drb-impl-netcdf-1.0.5.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for drb-impl-netcdf-1.0.5.tar.gz
Algorithm Hash digest
SHA256 733a8229030ddea5b066742d08476b058b0e436a5fd918bcbda06e19dff09d3e
MD5 234c13ca6655d63499635398ae7d207e
BLAKE2b-256 26fc101b48a500931962595065eca3625a9366c9926e75ff3ea691ae2c59b11a

See more details on using hashes here.

File details

Details for the file drb_impl_netcdf-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for drb_impl_netcdf-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa66429ced5a692cbfa2e7242eab6b3682c307028aa768cc0057fb25c7a4136
MD5 f4ded0a950a85c006e343e1693e3262c
BLAKE2b-256 9422c2a4e9482f435f9726c628afa6d78a847a4d2630b2a89971d2a7219377c8

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