Skip to main content

DRB NetCDF Driver

Project description

Netcdf driver

This drb-driver-netcdf 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.driver.
The driver name is netcdf.
The factory class DrbNetcdfFactory is encoded into drb.drivers.netcdf module.

The netCDF 4.0 data model is based on recursive 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-driver-netcdf module shall be referenced into requirements.txt file, or the following pip line can be run:

pip install drb-driver-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_driver_netcdf-1.3.3.tar.gz (32.3 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_netcdf-1.3.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file drb_driver_netcdf-1.3.3.tar.gz.

File metadata

  • Download URL: drb_driver_netcdf-1.3.3.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/9.0.0 pkginfo/1.12.1.2 requests/2.34.2 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.11.15

File hashes

Hashes for drb_driver_netcdf-1.3.3.tar.gz
Algorithm Hash digest
SHA256 c0ea6784f780f538c4021dbc479a9e5d1f43685757833cb0bd5a33c4af453a55
MD5 9646e623b52d96ec21efcc3a6a11f3a8
BLAKE2b-256 a239f52e84274d52a1147f4d0380181b367d33b0d33631490dac65c55ea5fcdc

See more details on using hashes here.

File details

Details for the file drb_driver_netcdf-1.3.3-py3-none-any.whl.

File metadata

  • Download URL: drb_driver_netcdf-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/9.0.0 pkginfo/1.12.1.2 requests/2.34.2 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.11.15

File hashes

Hashes for drb_driver_netcdf-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c53b063bb96bad4b572c8f46a1206d79e5de09b2c1935dddf3afefa0b0ff4979
MD5 db88927ddbd3cad8fef7d4caebc45650
BLAKE2b-256 909ec85e18d7b1f8fad7ae75f71a61e0d80da464f5f3f066284abf59bbc4704f

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