Skip to main content

A TauREx plugin implementing Pre Computed Qext grids for cloud models

Project description

Faster clouds for TauREx 3


This plugin provides a new nethod to inclue aerosols in TauREx 3, extending the TauREx-PyMieScatt plugin. It significantly speeds up the cloud models by using precomputed extinction efficiency (Q_ext) grids. TauREx-PCQ also considerably improves the computation scaling with the number of clouds in the models. The speed-ups for single cloud retrievals are betwwen 1.4 and 2.7. Although, a single-cloud retrieval using Qext grids achieved a speed-up of 1.4, the same retrieval with four clouds became 17 times faster than the corresponding retrieval using direct Mie calculations. The grids details and validation can be found in Voyer & Changeat (2026), if you use TauREx-PCQ or the grids please cite this paper. The species already available are Mg2SiO4, MgSiO3 (amorph sol-gel and amorph glass), SiO2 (alpha and amorph), SiO, the Titan tholins and water ice. They can be found at: 10.5281/zenodo.17456673 .

For any inquiries, please contact: mael.voyer@u-paris.fr


🔧 Features

  • ✅ Compatible with transit and emmsion models.

  • ✅ Works with any aerosol specie given that the user provides a .h5 file with :

  • A radius_grid dataset with the particule sizes in microns ( length a ).

  • A wavenumber_grid dataset with the wavenumber at which the Q_ext were computed in cm-1 ( length b )

  • A Qext_grid dataset with the computed Q_ext from PyMieScat ( length (a, b) )

As an extension of TauREx-PyMieScatt, this pulgin includes the same capabilities

  • Supports multiple particle size distributions:
    • normal (log-normal)
    • budaj (2015)
    • deirmendjian (1964)
  • Multiple species and per-species fitting
  • Particle decay with altitude (exp_decay based on Whitten 2008 / Atreya 2005)
  • Computes exctinction using the species optical constant via Effective Medium Theory (Bohren & Huffman 1983)
  • Multiple fittable parameters for TauREx retrievals

🔧 Model Parameters

Name Description
species Your name for the species included through the mie_species_path parameter. This name will be used as suffixes added to the other parameters to distinguish between included species.
mie_species_path Paths to the Q_ext grids of the aerosols you want to include
mie_particle_radius_distribution "normal", "budaj", or "deirmendjian"
mie_particle_mean_radius Mean particle radius (µm)
mie_particle_logstd_radius Log-normal std dev (for "normal" distribution)
mie_particle_paramA/B/C/D Parameters for Deirmendjian distribution
mie_particle_mix_ratio Number density (molecules/m³)
mie_midP Pressure at cloud center (Pa)
mie_rangeP Extend of the clouds in log scale around mie_midP. If mie_midP = 1e5 Pa and mie_rangeP = 1 then clouds extend from 1e6 to 1e4 Pa
mie_particle_altitude_distrib Currently supports 'exp_decay' or 'linear'
mie_particle_altitude_decay Decay exponent per species e.g -5

💡 Usage Example in a TauREx parameter file or 'parfile'

[Model]
model_type = transit

    [[PyMieScattGridExtinction]]

    species = SiO, Mg2SiO4_glass, custom_molecule
    mie_species_path = path_to_SiO.h5 , path_to_Mg2SiO4_glass.h5 , path_to_custom_molecule.h5   #e.g. You can use the optical constant from Kitzmann and Heng 2018
    mie_particle_radius_distribution = budaj
    mie_particle_mean_radius = 0.1, 0.4 , 10
    mie_midP = 1e5, 1e2, 1
    mie_rangeP = 3 , 1 , 2
    mie_particle_mix_ratio = 1e5, 1e8 , 10e3
    mie_particle_radius_Nsampling = 5
    mie_particle_altitude_distrib = linear

Limitations

As the Q_ext are computed for a range of radii between 1 nm and 30 microns, it is strongly recomended that the mie_particle_mean_radius prior does not extend beyond this range. Any radius outside of the range will use the Q_ext of the closest radius present in the grid.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

taurex_pcq-1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

taurex_pcq-1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file taurex_pcq-1.0.tar.gz.

File metadata

  • Download URL: taurex_pcq-1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for taurex_pcq-1.0.tar.gz
Algorithm Hash digest
SHA256 e1a52bf85d2c716881f6254943939074900c7b4adbaca44a2e3558a837327478
MD5 1f354ec23097170ed5aa11a5dbdaf977
BLAKE2b-256 c08d5023709b542d921e5394f6e11e290d28351ccd9f2505b30c9aed2cdb6397

See more details on using hashes here.

File details

Details for the file taurex_pcq-1.0-py3-none-any.whl.

File metadata

  • Download URL: taurex_pcq-1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for taurex_pcq-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ff7308db99b47a3b05d8158cc5e74b77023dbeaa2adcfe4f884081b97e3386
MD5 66ff13c7ee1e39b828b36acc11a380f8
BLAKE2b-256 10eebf301c72c9aba897c44400b271f774057aa1d39366edd6a209eefac3ee20

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