TileDB Python library for supporting Climate and Forecast datasets.
Project description
TileDB-CF-Py
The TileDB-CF-Py library is a Python library for supporting the NetCDF data model in the TileDB storage engine. TileDB-CF-Py provides readers and writers for viewing and manipulating TileDB arrays and groups using TileDB CF Dataspaces - a special TileDB group that follows the requirements in tiledb-cf-spec.md.
TileDB Quick Links
Getting Started
Quick Installation
This project is available from PyPI and may be installed with pip
:
pip install tiledb-cf
Documentation
API Documentation
To build the API documentation do the following from this projects root directory:
- Install required packages:
python3 -m pip install tiledb-cf[docs]
- Make the HTML document:
make -C docs/ html
- Open docs/_build/html/index.html in a web browser of your choice.
Example Notebooks
Example Jupyter notebooks are available in the examples folder.
Command Line Interface
TileDB-CF provides a command line interface. Currently, it has the following commands:
Usage: tiledb-cf netcdf-convert [OPTIONS]
Converts a NetCDF input file to nested TileDB groups.
Options:
-i, --input-file TEXT The path or URI to the NetCDF file that will be converted. [required]
-o, --output-uri TEXT The URI for the output TileDB group. [required]
--input-group-path TEXT The path in the input NetCDF for the root group that will be converted. [default: /]
--recursive / --no-recursive Recursively convert all groups contained in the input group path. [default: True]
-k, --output-key TEXT Key for the generated TileDB arrays.
--unlimited-dim-size INTEGER Size to convert unlimited dimensions to. [default: 10000]
--dim-dtype [int8|int16|int32|int64|uint8|uint16|uint32|uint64]
The data type for TileDB dimensions created from converted NetCDF. [default: uint64]
--help Show this message and exit.
Development
For information on contributing to this project see the CONTRIBUTING document.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file tiledb-cf-0.6.1.tar.gz
.
File metadata
- Download URL: tiledb-cf-0.6.1.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92a35f520192a9bc76ad529364f09b1a84bf9ad56027e9ffb7dfd343dba5564f |
|
MD5 | 61bab4791b5161a58104b99731b071a2 |
|
BLAKE2b-256 | ae19b3a2a71c45036dcf3de4a04d3be791e763d1d596b8a89c9032653318389f |
File details
Details for the file tiledb_cf-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: tiledb_cf-0.6.1-py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33de8b038393c1d1044dd65b595bac788ff3e70da1017f07370424dc80952055 |
|
MD5 | c89ce54d6bddcc2bfd92d7cc924abe70 |
|
BLAKE2b-256 | d261f29fd5885915c6896caa0dc0b8df164096eac672fe798dfe36ff872aa45c |