Skip to main content

Atmospheric Radiative Transfer Model interface

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 964828ab610cf5c476b872b21c565d2f9e6fd00bd263ae67e1ce251a62dd9770
MD5 4962115b4ab0a95dd9608ad11780180f
BLAKE2b-256 b9b77cee907e52ef57d2b715cbba6286c5870aacaf1dc7951527375c018d31f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmosrt-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on ghislainp/atmosrt

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

File details

Details for the file atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 826bfb4fc329849ba4a07f76b06086e461d4479108e274a1a237ab3ed16f614d
MD5 7dd0aa3f2c539fe1843e617c76ef5c0d
BLAKE2b-256 17d66595303950038e49ea78a9c065ccff571428a3491553db71e26ab465d7c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmosrt-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on ghislainp/atmosrt

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

File details

Details for the file atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4a7167574202501faaf07c9c58daea92541706a32f1ab72bb2ba835c353e1b9
MD5 a2599ff2331a2c521330a3c231795a1d
BLAKE2b-256 5e1fc746e00da584b75b303fe951c06a6ff4c032bcd43c3cae059fcc87efefbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmosrt-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on ghislainp/atmosrt

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

File details

Details for the file atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc6bc569e55c8634974b7538a5d6352f7dae100bf52ee49af5f0829bdadd71fb
MD5 09c204f5484da07d878cb1917506e8d5
BLAKE2b-256 87a0e603d6ba5ed63c316224a25fd6ee3995b151e19d35a77d3b40be0926e39f

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmosrt-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on ghislainp/atmosrt

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