Skip to main content

Python Radiative Transfer Modelling Wrappers

Get spectral or integrated broadband irradiance outputs from SMARTS and SBdart conveniently, in Python 3.

Prerequisites

  • Python 3.6.
  • If needed, SMARTS 2.9.5 must be compiled and installed on your system $PATH as smarts295.
  • SBDart is compiled during the setup using numpy.distutils, which requires a working fortran compiler. E.g. if using Anaconda: conda install -c conda-forge fortran-compiler
  • Numpy and Pandas are required.

Installation

$ pip install atmosrt

Or for the development version:

$ pip install git+https://github.com/ghislainp/atmosrt

Tutorial

To run SBdart or SMARTS, create a model object with a default settings, adjust the config and call the spectrum or irradiance methods to obtain a Pandas DataFrame with the simulation results:

import atmosrt
import datetime

model = atmosrt.SBdart(atmosrt.settings.pollution['moderate'],
			time=datetime.datetime(2020, 2, 11, 12, 0),
			latitude=45.0000,
			longitude=3.0000)

spec = model.spectrum()

alternatively, SBdart simulations can be run for a given Solar Zenith Angle (SZA):

import atmosrt

model = atmosrt.SBdart(atmosrt.settings.pollution['moderate'],
			SZA=50.0,)

spec = model.spectrum()

Documentation

AtmosRT is a Python 3 version of PyRTM with only a few improvements.

The PyRTM documentation is available from at http://www.appropedia.org/PyRTM

Acknowledgment

PyRTM is available from https://github.com/Queens-Applied-Sustainability/PyRTM

Metadata

Release files for AtmosRT 0.6.0

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

Built distributions (wheels)

Table of built distributions (wheels) for AtmosRT 0.6.0
File
atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details

Total release size: 9.5 MB

Release files / atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
964828ab610cf5c476b872b21c565d2f9e6fd00bd263ae67e1ce251a62dd9770
BLAKE2b-256 checksum
How to use checksums
b9b77cee907e52ef57d2b715cbba6286c5870aacaf1dc7951527375c018d31f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 6, 2026.

Transparency log

Release files / atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
826bfb4fc329849ba4a07f76b06086e461d4479108e274a1a237ab3ed16f614d
BLAKE2b-256 checksum
How to use checksums
17d66595303950038e49ea78a9c065ccff571428a3491553db71e26ab465d7c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 6, 2026.

Transparency log

Release files / atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c4a7167574202501faaf07c9c58daea92541706a32f1ab72bb2ba835c353e1b9
BLAKE2b-256 checksum
How to use checksums
5e1fc746e00da584b75b303fe951c06a6ff4c032bcd43c3cae059fcc87efefbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 6, 2026.

Transparency log

Release files / atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dc6bc569e55c8634974b7538a5d6352f7dae100bf52ee49af5f0829bdadd71fb
BLAKE2b-256 checksum
How to use checksums
87a0e603d6ba5ed63c316224a25fd6ee3995b151e19d35a77d3b40be0926e39f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

4 release files

0.5.9

6 release files

0.5.8

6 release files

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4

1 release file

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