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.factory
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drb-driver-netcdf-1.3.0.tar.gz.
File metadata
- Download URL: drb-driver-netcdf-1.3.0.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af048aa666ac9cc898db95e91135be246314063fad72bddd12ff1f2ca6f36a9e
|
|
| MD5 |
7e25900b17b40857cf8d0590a60e6312
|
|
| BLAKE2b-256 |
f9c4496813d18f4515c7ec492af8d7b2e735e7ada28004f912d193f7dc712aeb
|
File details
Details for the file drb_driver_netcdf-1.3.0-py3-none-any.whl.
File metadata
- Download URL: drb_driver_netcdf-1.3.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23dcf7cd956ed525c1b2eadedcb30e93f7d1ed371b99d64b5e1e0991905d00aa
|
|
| MD5 |
5aaa1269fb831fbd1ce8fcb8990d8048
|
|
| BLAKE2b-256 |
21b94cbb1854f2c6a7835d18dc6b3024074e3985d1f6a659ab15851a63ed8091
|