Skip to main content

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

Metadata

Release files for drb-impl-netcdf 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drb-impl-netcdf 1.0.5
File Size Uploaded
drb-impl-netcdf-1.0.5.tar.gz 25.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drb-impl-netcdf 1.0.5
File Interpreter ABI Platform
drb_impl_netcdf-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 kB

Release files / drb-impl-netcdf-1.0.5.tar.gz

Download URL drb-impl-netcdf-1.0.5.tar.gz
Size 25.4 kB
Tags Source
SHA-256 checksum
How to use checksums
733a8229030ddea5b066742d08476b058b0e436a5fd918bcbda06e19dff09d3e
BLAKE2b-256 checksum
How to use checksums
26fc101b48a500931962595065eca3625a9366c9926e75ff3ea691ae2c59b11a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.14

Release files / drb_impl_netcdf-1.0.5-py3-none-any.whl

Download URL drb_impl_netcdf-1.0.5-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffa66429ced5a692cbfa2e7242eab6b3682c307028aa768cc0057fb25c7a4136
BLAKE2b-256 checksum
How to use checksums
9422c2a4e9482f435f9726c628afa6d78a847a4d2630b2a89971d2a7219377c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page