Skip to main content

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

Metadata

Release files for drb-driver-netcdf 1.4.2

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-driver-netcdf 1.4.2
File Size Uploaded
drb_driver_netcdf-1.4.2.tar.gz 36.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drb-driver-netcdf 1.4.2
File Interpreter ABI Platform
drb_driver_netcdf-1.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 49.1 kB

Release files / drb_driver_netcdf-1.4.2.tar.gz

Download URL drb_driver_netcdf-1.4.2.tar.gz
Size 36.8 kB
Tags Source
SHA-256 checksum
How to use checksums
728a023e8d08739b36de57acf1658892e9f0e5c054f02aed6cf72b01ae4b99f1
BLAKE2b-256 checksum
How to use checksums
2c9d2b577b1d19d5bc74ffe1be578b4ae17ca2485307ff9dea33ee33ec32c60c
Upload date
Uploaded using Trusted Publishing?
What is 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.4 CPython/3.11.15

Release files / drb_driver_netcdf-1.4.2-py3-none-any.whl

Download URL drb_driver_netcdf-1.4.2-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b036fbb96eb5f2dea1ed51daa80ac024f8e7090662316979360ee4f16c47e518
BLAKE2b-256 checksum
How to use checksums
4d3fbe975003dc9e9ad17117ca30db0eff1e77a0403ee9afd311524e9f8dc257
Upload date
Uploaded using Trusted Publishing?
What is 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.4 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.4.2 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

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