Skip to main content

Pytmosph3R, generating transmission spectra from 3D atmospheric simulations

Project description

pytmosph3r

Pytmosph3R is a Python-3 library that computes transmission spectra based on 3D atmospheric simulations, for example performed with the LMDZ generic global climate model.

Prerequisites

  • numpy

Installing from PyPI

Pytmosph3r is available on the PyPI repository. You can install the latest version avaible with:

pip install pytmosph3r

Don't forget to install numpy beforehand.

Installing from source

If you intend to develop or get the latest (unreleased) developments, you can clone (and move in) the current repository and then install Pytmosph3R using:

pip install -e .

Don't forget to update pip if errors are raised.

To generate the documentation, you will need to install the following packages:

pip install nbsphinx sphinx-autoapi sphinx_rtd_theme sphinxcontrib-bibtex sphinx-argparse
conda install sphinx pandoc # installs more (required) dependencies than pip

You can then generate the documentation by running:

python setup.py doc

(or by simply running make in the doc/ folder). The documentation will be generated in the doc/html folder (you can open the index.html file to check it out using your favorite browser).

Note that you need to set the environment variable FASTCHEM_DIR to the location of the folder containing FastChem if you want to use that functionality (WIP).

Running

To get help:

pytmosph3r -h

See the documentation for more information (read instructions in Installation just above to generate the doc).

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

pytmosph3r-2.2.0.tar.gz (117.8 kB view hashes)

Uploaded Source

Built Distribution

pytmosph3r-2.2.0-py3-none-any.whl (145.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page