Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AxsDB — The Eradiate Absorption Cross-section Database Interface

pypi ci docs

This library provides an interface to read and query the absorption databases of the Eradiate radiative transfer model.

Features

  • Monochromatic and CKD databases: Read and evaluate absorption coefficients for both monochromatic and correlated-k distribution spectral representations.
  • Fast interpolation: Numba-accelerated multi-dimensional interpolation of thermophysical profiles (pressure, temperature, mole fractions).
  • Configurable error handling: Fine-grained, per-coordinate control over out-of-bounds behaviour (clamp, fill, raise, warn).
  • Efficient I/O: Lazy or eager loading of NetCDF data files, with LRU caching for repeated lookups.
  • xarray and Pint integration: Works natively with xarray datasets and Pint quantities.
  • CLI: Validate database integrity from the command line with axsdb check.

Installation

Python 3.9 or later is required.

pip install axsdb

Quick start

import xarray as xr
from axsdb import MonoAbsorptionDatabase
from axsdb.units import get_unit_registry

ureg = get_unit_registry()

# Open a database directory
db = MonoAbsorptionDatabase.from_directory("path/to/database")

# Load a thermophysical profile
thermoprops = xr.load_dataset("path/to/thermoprops.nc")

# Evaluate the absorption coefficient at a given wavelength
sigma_a = db.eval_sigma_a_mono(
    w=550.0 * ureg.nm,
    thermoprops=thermoprops,
)

For CKD databases, use CKDAbsorptionDatabase and eval_sigma_a_ckd (which takes an additional g parameter for the quadrature point).

CLI

AxsDB ships a command-line tool to validate databases:

# Check a monochromatic database
axsdb check path/to/database -m mono

# Check and fix missing index files
axsdb check path/to/database -m ckd --fix

Documentation

Full documentation is available at axsdb.readthedocs.io.

License

AxsDB is distributed under the terms of the GNU Lesser General Public License v3.0.

Metadata

Release files for axsdb 0.2.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axsdb 0.2.0rc1
File Size Uploaded Provenance Actions
axsdb-0.2.0rc1.tar.gz 2.9 MB With provenance Details for axsdb-0.2.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axsdb 0.2.0rc1
File Interpreter ABI Platform Actions
axsdb-0.2.0rc1-py3-none-any.whl Python 3 none any Details for axsdb-0.2.0rc1-py3-none-any.whl

Total release size: 2.9 MB

Release files / axsdb-0.2.0rc1.tar.gz

Download URL axsdb-0.2.0rc1.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
d435030a87bd81089a43e2d0246fb30c64a28e9372c9e5469ae5170da9be29a6
BLAKE2b-256 checksum
How to use checksums
08ea8554d050e25e28823b3bc88f50575277c3b2e5b2dc6c3966647aaaa34da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / axsdb-0.2.0rc1-py3-none-any.whl

Download URL axsdb-0.2.0rc1-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fe9c7093b3f40938c4e69d495a8ecf0f3176774a62882d01ed6393195a10c00
BLAKE2b-256 checksum
How to use checksums
900cce1f474461d632a0e33b1ab9059406d91a6ddf472fb1078310cb10024e64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Security for axsdb 0.2.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for axsdb-0.2.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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