Skip to content

Experimental Clouds

nabajour edited this page Jul 9, 2020 · 2 revisions

Clouds are defined by a global fcloud parameter, and a cloud file.

The cloud file is a table per wavelength bins, which means that the same parameters are applied to the whole atmosphere for each wavelength bin.

Extension

fcloud parameter could become a local parameter, which would need to be computed at the beginning of the loop.

cloud absorption, scattering, asymetry could be localised instead of using a single value per wavelength.

Here are the steps to follow to extend this:

  • replace input table per wavelength by input lookup table per wavlength, pressure, temperature, etc…
  • add a table of this value per volume element and wavelength bin.
  • add an interpolation function similar to the ones used for gas properties.
  • change code in trans_iso and trans_noniso to use per volume element table instead of direct lookup table access.
Clone this wiki locally