Skip to main content

Eradiate DISORT backend

A DISORT radiometric backend for the Eradiate radiative transfer model.

Overview

This project lets Eradiate experiments be solved with DISORT instead of Monte Carlo ray tracing, providing a fast radiometric backend for 1D scenes with plane-parallel or spherical-shell geometry. The solver is reached through the nanodisort bindings to CDISORT, a C port of the original DISORT software.

Main features

  • Computes radiances and fluxes for 1D atmospheres (no polarization).
  • Applies CDISORT's pseudo-spherical correction to the direct beam when the experiment uses a spherical-shell geometry.
  • Drives an Eradiate experiment end-to-end, returning results as an xarray.DataTree.
  • Supports Eradiate's mono and ckd spectral modes.
  • Defines a DisortMeasure to record fluxes and intensities at chosen altitudes or optical thicknesses, optionally as a full radiance field.

Documentation

See the online documentation for installation details, the API reference and worked examples.

Requirements and installation

  • Linux or macOS, Python 3.10 to 3.13.
  • A working Eradiate installation.
pip install eradiate[kernel,recommended] eradiate-disort

Usage

Configure an Eradiate experiment with a disort measure, then run it through the backend:

import eradiate
import eradiate_disort as ed
from eradiate.experiments import AtmosphereExperiment

eradiate.set_mode("ckd")

exp = AtmosphereExperiment(
    surface={"type": "lambertian", "reflectance": 0.5},
    atmosphere=None,
    illumination={"type": "directional", "zenith": 30.0, "azimuth": 0.0},
    measures={
        "type": "disort",
        "construct": "hplane",
        "azimuth": 0.0,
        "zeniths": [-60.0, -30.0, 0.0, 30.0, 60.0],
        "srf": {"type": "delta", "wavelengths": [550.0]},
    },
)

backend = ed.DisortBackend()
result = backend.run(exp)

About

Developed and maintained by Vincent Leroy and Claudia Emde.

This backend builds on CDISORT and DISORT; see the nanodisort README for the full credits to the CDISORT and DISORT authors.

Consistent with the nanodisort package it links to, this project is licensed under the terms of the GNU General Public License v3.0 or later (GPL-3.0-or-later).

Download files

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

Source Distribution

eradiate_disort-1.1.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

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

eradiate_disort-1.1.0-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file eradiate_disort-1.1.0.tar.gz.

File metadata

  • Download URL: eradiate_disort-1.1.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eradiate_disort-1.1.0.tar.gz
Algorithm Hash digest
SHA256 54140262b5ac8b00e6cbc52c17569b0ef2116d593390a53e61886918be37fb12
MD5 463cae31e3402586baed31bd462ee404
BLAKE2b-256 ddcbc1239c93796b6b201e7ab6e180b0b2a752b786de57b361912f0e0b3530cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for eradiate_disort-1.1.0.tar.gz:

Publisher: cd.yml on eradiate/eradiate-disort

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

File details

Details for the file eradiate_disort-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eradiate_disort-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0050f126e5e0923266baebfdd84504c9e0f89782584af84260f731d09a030689
MD5 fbb4126f70c948b81ef89ca1cfd59797
BLAKE2b-256 d5e5a8867733633149ad58e9ba770eebd2d6e6e003a2cc0d9ac7f57401e32b6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for eradiate_disort-1.1.0-py3-none-any.whl:

Publisher: cd.yml on eradiate/eradiate-disort

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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

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