Skip to main content

Load dynamical.org weather datasets in one line

Project description

dynamical-catalog

Load dynamical.org weather datasets in one line.

See dynamical.org/catalog for dataset documentation.

Install

pip install dynamical-catalog
uv add dynamical-catalog

Usage

import dynamical_catalog

# Optional: let us know who you are so we can improve the catalog!
dynamical_catalog.identify("you@example.com")

# Open a dataset as an xarray Dataset via its icechunk repository
ds = dynamical_catalog.open("noaa-gfs-forecast")

# Additional arguments are passed through to `xr.open_zarr`
ds = dynamical_catalog.open("noaa-gfs-forecast", chunks=None)

# Datasets with vertical profiles expose them as groups (e.g. pressure_level)
ds = dynamical_catalog.open("noaa-hrrr-forecast-48-hour-virtual", group="pressure_level")

# Get the underlying Zarr store if you want even more control
store = dynamical_catalog.get_store("noaa-gfs-forecast")
ds = xr.open_zarr(store)

# Get the icechunk repository itself to access its commit history / snapshots
repo = dynamical_catalog.get_repository("noaa-gfs-forecast")
for snapshot in repo.ancestry(branch="main"):
    print(snapshot.written_at, snapshot.message)

# List all available datasets
dynamical_catalog.list()

Set DYNAMICAL_STAC_CATALOG_URL to point the library at a non-production catalog such as https://stac-staging.dynamical.org/catalog.json.

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

dynamical_catalog-0.8.0.tar.gz (57.1 kB view details)

Uploaded Source

Built Distribution

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

dynamical_catalog-0.8.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file dynamical_catalog-0.8.0.tar.gz.

File metadata

  • Download URL: dynamical_catalog-0.8.0.tar.gz
  • Upload date:
  • Size: 57.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dynamical_catalog-0.8.0.tar.gz
Algorithm Hash digest
SHA256 74427cd98c0e71f1faec34760e28dab96678cfa9cc0f704ccde656874b3086dd
MD5 fa9fd65800a859d7d5f220a23b5b8dfe
BLAKE2b-256 427d48ed18930030c185bd9c013fbc0e17497e26b878c73fd16dd4854ca4ec3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamical_catalog-0.8.0.tar.gz:

Publisher: publish.yml on dynamical-org/dynamical-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dynamical_catalog-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dynamical_catalog-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a69485f69ff06fc186388c147238a96d8a1f9e89982117f929b32eb437f8d13
MD5 a84ab9565ebd96e505406874f0929621
BLAKE2b-256 39e56c31264082071696f6cdab50014d52f454777f69d625e90ed7920bcdc5c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamical_catalog-0.8.0-py3-none-any.whl:

Publisher: publish.yml on dynamical-org/dynamical-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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