pytmosph3r.atmosphere.atmosphere
Module Contents
- class Atmosphere(name)[source]
Bases:
pytmosph3r.grid.Grid3D
Base class for building atmospheric models.
- property n_latitudes
- property n_longitudes
- property n_vertical
- molar_mass
Molar mass (in kg/mol).
- pressure
Pressure (in Pa).
- max_pressure
Max (bottom) pressure in the model (in Pa). Optional if using an input file.
- min_pressure
Min (top) pressure in the model (in Pa). Optional if using an input file.
- temperature
Temperature (in K).
- gas_mix_ratio
Volume mixing ratios of each gas.
- aerosols
Dictionary for aerosols. Each aerosol is itself a dictionary of which each element indicates the MMR, the effective radius and the condensate density of the aerosol.
- p_min_aerosols
For pressures under p_min_aerosols, all aerosols MMRs are set to 0.
- recompute_molar_mass = True
Recompute molar mass from the gas mix ratios (activated by default) using the method
exo_k.Gas_mix.molar_mass()
. If you give Atmosphere() a molar mass, this will be set to False. If you change your mind later, simply set this parameter again to True to recompute it automatically.
- rcp: float = 0.28
Default rcp value to be used in emission mode
- compute_molar_mass()[source]
Compute
molar_mass
(kg/mol).