Skip to main content

CF conventions multi-dimensional array storage on top of Booklet

Project description

cfdb

CF conventions multi-dimensional array storage on top of Booklet

build codecov PyPI version


Documentation: https://mullenkamp.github.io/cfdb/

Source Code: https://github.com/mullenkamp/cfbdb


Development

Coordinate variables

Must be 1D. They should have an "ordered" parameter (bool) that defined whether the coord should always be ordered. Int, float, and datetime should default to True. Only string and category dtypes should default to False. There should be a "regular" parameter (bool) with an associated "step" parameter (int or float). It should work similarly to np.arange. Only ints, floats, and datetimes can use this. Should I add a "unique" parameter (bool)? Maybe I should just enforce this normally? It should enforce uniqueness in the coords. There can be a groupby method datasets that would use the rechunker. The rechunker would have the groupby dims set to 1 and the other dims set to the full length.

Multi-dimensional coords

It is possible to create a composite index from multiple 1D coords. But it seems best to implement this type of thing on top of sqlite (or something equivalent). Keeping each coord 1D makes implementations quite a bit simpler.

License

This project is licensed under the terms of the Apache Software License 2.0.

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

cfdb-0.1.0.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cfdb-0.1.0-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file cfdb-0.1.0.tar.gz.

File metadata

  • Download URL: cfdb-0.1.0.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for cfdb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 719f7f08e21675ca41238e7325a905854f76736445daa7bc51f5851eea1a9803
MD5 dfd6b4260ac237cafc0fda3ddc6d383d
BLAKE2b-256 9516087c8185a4a648027680474ed419ee5f3eb8aaaf8e416653728811828d16

See more details on using hashes here.

File details

Details for the file cfdb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cfdb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for cfdb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b82726a6a786d8fc87fc33f441c295a9f40ab314466916aa068d8f400e9f5d6
MD5 c85b1dc1f7887bed742e0723c952b61d
BLAKE2b-256 241acd729c4397b93665058aa5e1711da81ddc0e6fb2da132bb36032376507d8

See more details on using hashes here.

Supported by

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