Skip to main content

DHIDB

dhidb

dhidb provides read-only Python access to the global 300 m Dynamic Habitat Indices database stored as a dense TileDB array on public S3-compatible object storage. It supports point, bounding-box, and polygon queries without first downloading the complete database.

Installation

pip install dhidb

For development:

python -m pip install -e ".[test,docs]"

Quick start

from dhidb import DHIProvider

with DHIProvider() as db:
    print(db.years)
    print(db.variables)

    germany = db.query_bbox(
        bounds=(5.8, 47.2, 15.1, 55.1),
        years=[2020, 2021, 2022],
        variables=["dhi_cum", "dhi_min", "dhi_var", "valid_count"],
    )

Documentation

The Jupyter Book source is in docs/. Build it locally with:

jupyter-book build docs

Data variables

Variable Meaning Unit
dhi_cum Cumulative productivity from LSP TPROD PPI integral (m2 m-2 day)
dhi_min Minimum seasonal productivity baseline from LSP MINV PPI (m2 m-2)
dhi_var Inter-period GPP coefficient of variation dimensionless
dhi_combined Normalized combined DHI, where available dimensionless
observed_count Number of available 10-day observations scenes
valid_count Number of accepted 10-day observations scenes
qflag_any_count Observations carrying any source quality flag scenes
qflag_rejected_count Observations rejected by quality filtering scenes

License

MIT

Download files

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

Source Distribution

dhidb-0.1.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

dhidb-0.1.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file dhidb-0.1.2.tar.gz.

File metadata

  • Download URL: dhidb-0.1.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dhidb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 76f82ab22105098e50531ce578cc8da3cfcb1e5ae0fdd48475f70f66033eda07
MD5 56f5d94362d19e6736a3f63f507f3b5e
BLAKE2b-256 b54af6cf4087274f3493c6a4ff5371581e3a832483572d7073ecc32ae7f7429f

See more details on using hashes here.

File details

Details for the file dhidb-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dhidb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dhidb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b38b65203bf0c68920a9809827e22409e3ca5ce593a8f9293263fef1d36d0e0b
MD5 0f9ba8377685ba212be3c25a24bbb5eb
BLAKE2b-256 acdddf91b9570b1d4be9ab9c1573f10b7041e3ec03e57868275b3f406d073faa

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 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