Skip to main content

TileDB Python library for supporting Climate and Forecast datasets.

Project description

TileDB logo

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:

  1. Install required packages:
    python3 -m pip install tiledb-cf[docs]
    
  2. Make the HTML document:
    make -C docs/ html
    
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiledb-cf-0.5.3.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

tiledb_cf-0.5.3-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file tiledb-cf-0.5.3.tar.gz.

File metadata

  • Download URL: tiledb-cf-0.5.3.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tiledb-cf-0.5.3.tar.gz
Algorithm Hash digest
SHA256 8c75c91fa81a6826fda2a44912716d35d4492c8a1f4af9adc4eb0e96c60b22ce
MD5 fb0472ba06a4866f3b4c2c9fc2bf6afa
BLAKE2b-256 a6c7612b1052db673da0241b57f128e61a0df46e43b1667db8dbc11181fc6a5b

See more details on using hashes here.

File details

Details for the file tiledb_cf-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: tiledb_cf-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tiledb_cf-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 39c935ab91a1ddddf219c6b413aac858579727cee338beba5d5e85c102d67b88
MD5 25dff314f989d87864eb773ae64dafca
BLAKE2b-256 f91b74fed4b9719c48edb7e7e8c5b1ffc8a46d1e151d18fc3c73a6f7db98abaa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page