Skip to main content

Library to handle radiative opacities from various sources for atmospheric applications

Project description

Exo_k

Author: Jeremy Leconte (CNRS/LAB/Univ. Bordeaux)

Exo_k is a Python 3 based library to handle radiative opacities from various sources for atmospheric applications. It enables you to:

  • Interpolate efficiently and easily in correlated-k and cross section tables.

  • Convert easily correlated-k and cross section tables from one format to another (pickle, hdf5, LMDZ GCM, Exomol, Nemesis, PetitCode, TauREx, etc.).

  • Adapt precomputed correlated-k tables to your needs by changing:

    • the resolution and quadrature (g) grid,
    • the pressure/temperature grid.
  • Create tables for a mix of gases using tables for individual gases.

  • Create your own tables from high-resolution spectra (for example from K-spectrum, Helios-K, etc.).

  • Use your data in an integrated radiative transfer framework to simulate planetary atmospheres.

In this repository, you'll find a tutorial jupyter notebook that will show you how to do all that with concrete examples that you can run on your own machine. Many important concepts and options are presented along the way.

Enjoy!

J. Leconte

Installation

Exo_k can be installed using pip (without cloning the repository; dependencies should be downloaded automatically):

pip install exo_k

Or by running the setup.py script in the cloned repository:

python setup.py install

Usage

To learn how to use exo_k, you can follow the tutorial jupyter notebook.

Have fun!

Links

Acknowledgements

This project has received funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement n° 679030/WHIPLASH).

The framework for this documentation has been developped by Aurelien Falco using Sphinx.

Building the documentation

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

pip install nbsphinx sphinx-autoapi sphinx_rtd_theme
conda install sphinx # 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).

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

exo_k-0.0.4.tar.gz (71.7 kB view details)

Uploaded Source

Built Distribution

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

exo_k-0.0.4-py3-none-any.whl (100.6 kB view details)

Uploaded Python 3

File details

Details for the file exo_k-0.0.4.tar.gz.

File metadata

  • Download URL: exo_k-0.0.4.tar.gz
  • Upload date:
  • Size: 71.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for exo_k-0.0.4.tar.gz
Algorithm Hash digest
SHA256 57113ff10d566c4d1acce538bd8e1fdd9916f2e0b9957ee7545c84c14e11e5fe
MD5 bd8b2d4ab212e909d7543874860b9c3d
BLAKE2b-256 5c241a1725779b33790365e37bc1782f158ae14fc93e1f618b381ab8bbaa2c5d

See more details on using hashes here.

File details

Details for the file exo_k-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: exo_k-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 100.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for exo_k-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c9cf841e53d191343866cf97d3bbe1a3812b9a2fc2b6bc9176951329bc8dcc5
MD5 9379565dd5f050572fc40946518604c6
BLAKE2b-256 c036a5d7969f0f1d82868923080d4f6542a07c802f5607cafc773870a378a994

See more details on using hashes here.

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