Ask the virtual scientist
Types of atmospheres
PSG handles two types of atmospheres: hydrostatic equilibrium (typical for planets) and expanding coma (i.e., exospheres and typical of comets and small bodies). Atmospheres in hydrostatic equilibrium are considered when gravity controls the structure of the atmosphere and in which the escape velocities are lower than the kinetic atmospheric velocities. For exospheres, the structure is defined by the outgassing velocity and photochemical/photodissociation decay, while in hydrostatic equilibrium, gravity, molar mass, pressures and temperature define the vertical structure. PSG permits providing detailed vertical information of molecular abundances and temperatures, and atmospheric templates (vertical profiles of temperature and abundances) are available for the main atmospheres (Venus, Earth, Mars, Titan, Neptune, Uranus), while general atmospheric and surface parameters are available for the other bodies. For expanding atmospheres, PSG assumes isotropic outflow, constant expanding velocity and a Haser isotropic 2steps (i.e., parent and daughter species) photodissociation scheme.
PSG provides access to several atmospheric models (e.g., chemical equilibrium, thermal radiative equilibrium, Mars GCM models, cometary heliocentric models), databases (e.g., Earth NASA/MERRA2) and numerous templates (e.g., Venus, Titan) for defining the atmospheric and surface structure and composition. The user can also provide any arbitrary profile of P/T and of molecular abundances by selecting "File Template" in the atmosphere section. The format of this file is a text file with all the entries as in the configuration file for the sections ATMOSPHERE and SURFACE. When providing usergenerated profiles, the vertical parameters are provided via the ATMOSPHERELAYER keywords. The pressures are provided in 'bars', temperatures in 'K' and abundances in volume mixing ratio  [molecules / molecules] for gases (e.g., water vapor, methane) and [kg / kg] for hazes (e.g., water ice clouds, methane ice). Particle sizes in [m] are provided by adding the keyword '_size'. The base (molecules or kg) is always wet air (all gases, including water vapor) without hazes. When no vertical profile is provided, the temperature (T) is assumed to be constant across the atmosphere, and the pressure (P) decreases with altitude (z) following the scaleheight: P = Psurf exp(zg/RT), where g is the gravity (defined in the object section) and R is the gas constant (8.3144598 J / K / mol).
It is important to note that only molecules included in the ATMOSPHEREGAS and ATMOSPHEREAEROS will be included in the simulation, independent of the species included in the profiles. Specifically, the vertical profile/structure of the atmosphere is provided by the ATMOSPHERELAYER keywords, yet the connection between these profiles to the species listed in the ATMOSPHEREGAS field is done via the “scaler” abundance unit in the ATMOSPHEREUNIT keyword (see details in chapter 1 and explore an example config in PSG for further understand this connection). A scaler of 1 indicates that the values as in the profile will be used, while any other unit (e.g., ppm, ppb) indicates a constant mixing ratio with altitude. If a scaler is selected for a constituent for which no profile exists, PSG will consider a scaler relative to an abundance of 100%. The surface pressure indicates where the atmosphere starts, again independently of the profile pressures. The surface pressure is where the surface starts, and where the diameter and gravity values relate to in the vertical structure of the planet.
Types of atmospheres: the user can select between two types of atmospheres: hydrostatic equilibrium (typical for planets, profiles adapted from Robinson & Catling 2014) and expanding coma (typical of comets and small bodies). For the main planets, vertical profiles are available, while the user can also load any arbitrary vertical structure. For expanding atmospheres, PSG assumes isotropic outgassing, a constant temperature across the coma, and an outgassing velocity established by the heliocentric distance. 
When selecting the spectroscopic databases for each of the atmosphere, aerosols and surface components, the user can choose from the following types:
0:REFL Reflectance: the reflecting properities of the material are described as a scaling factor (01).
1:OPTC Optical constants: the spectroscopy is tabulated as nk, where n is the refractive index and k is the extinction coefficient.
2:ALPH Alpha parameter: the α index indicates the extinction coefficient per slab width.
3:XSEC Cross sections: the molecular absorptions are described as a table of crosssections [cm2/molecule].
4:SCAL Scattering function (Legendre): the scattering function is described as a summation of Legendre polynomials.
5:SCAT Scattering function (HenyeyGreenstein): the scattering function is defined as a HG function.
6:LBLN Linebyline database: each line is described individually, requiring expensive linebyline RT calculations.
7:CKTB Correlatedk tables: precomputed corrk opacity tables are available in PSG for efficient RT calculations.
8:MASS Mass spectrometry library: mass spectral fragmentation pattern assuming electron ionization.
1:OPTC Optical constants: the spectroscopy is tabulated as nk, where n is the refractive index and k is the extinction coefficient.
2:ALPH Alpha parameter: the α index indicates the extinction coefficient per slab width.
3:XSEC Cross sections: the molecular absorptions are described as a table of crosssections [cm2/molecule].
4:SCAL Scattering function (Legendre): the scattering function is described as a summation of Legendre polynomials.
5:SCAT Scattering function (HenyeyGreenstein): the scattering function is defined as a HG function.
6:LBLN Linebyline database: each line is described individually, requiring expensive linebyline RT calculations.
7:CKTB Correlatedk tables: precomputed corrk opacity tables are available in PSG for efficient RT calculations.
8:MASS Mass spectrometry library: mass spectral fragmentation pattern assuming electron ionization.
Molecular/atomic databases (8680 species)
Download full list
The key parameter to be entered in the "Atmosphere" section is the definition of the molecular species and the corresponding linelist to be used for these molecules. HITRAN is generally very complete (for IR, optical and UV at low temperatures) for most typical planetary atmosphere and has become the main repository of line information. At radio wavelengths, the JPL Molecular Spectroscopy and Cologne Database of Molecular Spectroscopy (CDMS) are generally more complete and have a better description of the rotational spectrum of complex molecules. NASAGoddard currently holds the main repository for nonLTE fluorescence linelists, suitable when synthesizing cometary spectra in the UV/optical/IR range.Database  Capabilities  Reference 
HITRAN/HITEMP 2020 
Wavelength range: 0.3 μm to radio Number of lines: 5,399,562 Number of molecules: 50 Number of isotopologues: 126 Number of crosssection spectra: 987 Number of aerosols: 98  Gordon, I.E. et al; "The HITRAN2020 molecular spectroscopic database", Journal of Quantitative Spectroscopy and Radiative Transfer 277, 107949 (2022) 
Correlatedk tables Wavelength range: 0.2 to 100,000 um Number of temperatures: 20 (40 to 2000 K) Number of pressures: 17 (1E6 to 100 bar) Number of species: 21  Absorption coefficients computed with PUMAS, and assuming wings of 25 cm1 and a fine core of 1 cm1 where maximum resolution calculations are applied. Molecules: H2O, CO2, O3, N2O, CO, CH4, O2, SO2, NO2, NH3, HCl, OCS, H2CO, N2, HCN, C2H2, C2H4, PH3, H2S, C2H4, H2  
HOT correlatedk tables Computed based on the H2O, CO2, CO and CH4 HITEMP databases, assuming average line parameters in different collisional regimes (e.g., air, CO2, H2, He), and only available for lowres simulations (RP≤500).  Rothman, L. S. et al., "HITEMP, the hightemperature molecular spectroscopic database", JQSRT 111, 21392150 (2010)  With updates up to Feb/2023  
GSFC Fluorescence Database
Download 
Wavelength range: shorter than 10 μm Number of lines: 530,281 Based on lines (nonLTE): 2 billions Number of species: 26 For daughter species, rotational populations are heavily affected by photodissociation, and for simplicity in PSG, we assume an elevated Trot of 600K for OH,CN,CH,NH and 3200K for C2.  Villanueva, G. L., Mumma, M. J., DiSanti, M. A., Bonev, B. P., Gibb, E. L., MageeSauer, K., Blake, G. A., Salyk, C., "The molecular composition of Comet C/2007 W1 (Boattini): Evidence of a peculiar outgassing and a rich chemistry". Icarus, Volume 216, Issue 1, p. 227240. (2011) 
For rotational transitions, full nonLTE calculations are computed
by solving the multilevel system of differential equations in an expanding coma considering a timedependent solution.
Collisional parameters with H2 (assuming thermal OPR) are compiled following the LAMDA database (Leiden Atomic and Molecular Database, Schoier et al. 2005).
Spectroscopic line information is compiled from various sources
(ExoMol, HITRAN2020, LAMDA as presented in Villanueva et al. 2012a/2012b/2013), with fluorescence pumping rates (G coefficients)
computed based on multicascade analysis considering billions of transitions. The pumping rates were computed considering a realistic solar spectrum
at Rh=1AU and a heliocentric velocity of +10 km/s. See below the nonLTE model and the compiled databases: Model C2 CH CH3OH CN CO CO_1217 CO_1218 CO_1316 H2CO H2O H2S HC3N HCN HDO HNC NH NH3 OCS OH  
GEISA 2020 
Wavelength range: 0.3 μm to radio Number of lines: 5,023,277 Number of species: 52 Number of isotopologues: 118  JacquinetHusson, N. et al; "The 2020 edition of the GEISA spectroscopic database"; Journal of Molecular Spectroscopy, Volume 327, Pages 3172 (2016) 
JPL Molecular Spectroscopy 
Wavelength range: 2.65 μm to radio Number of lines: 888,113 Number of species: 383  Pickett, H. M.; R. L. Poynter, E. A. Cohen, M. L. Delitsky, J. C. Pearson, and H. S. P. Muller, "Submillimeter, Millimeter, and Microwave Spectral Line Catalog"; J. Quant. Spectrosc. and Rad. Transfer 60, 883890 (1998) 
CDMS Cologne Database for Molecular Spectroscopy 
Wavelength range: 1.81 μm to radio Number of lines: 1,612,154 Number of species: 792  Muller, Holger S. P.; Schloder, Frank; Stutzki, Jurgen; Winnewisser, Gisbert; "The Cologne Database for Molecular Spectroscopy, CDMS: a useful tool for astronomers and spectroscopists"; Journal of Molecular Structure, Volume 742, Issue 13, p. 215227 (2005) 
EXOTransmit database
Download 
Wavelength range: 0.1 to 170 um Number of spectral points: 7454 Number of temperatures: 30 (100 to 3000 K) Number of pressures: 13 (1E9 to 1000 bar) Number of species: 30  Freedman et al. 2008, 2014, from ExoTransmit  Kempton+2017, PASP 129044402, https://iopscience.iop.org/article/10.1088/15383873/aa61ef/meta, ExoTransmit 
The MPIMainz UV/VIS Spectral Atlas 
Wavelength range: 0.01 to 1 um Number of crosssections: 52 (selection) Number of species: 22 (selection) 
KellerRudek, H., Moortgat G.K., Sander R., Sörensen R., "The MPIMainz UV/VIS Spectral Atlas of Gaseous Molecules of Atmospheric Interest", Earth Syst. Sci. Data, 5, 365–373 (2013) Venot et al., A&A, 609A34 (2018) Serdyuchenko et al.,Atmos. Meas. Tech., 7, 625636, 2014 
The CFA/Harvard Kurucz atomic database 
Wavelength range: 0.001 to 1000 um Number of species: 80 elements and their ions Number of lines: 2,309,497 
Kurucz, Smith, Heise, Esmon (gfall08oct17), "The CFA/Harvard Kurucz Atomic spectral line database" (2017)' 
Modeling: the model of the lineshapes includes a Voigt analysis (Thermal, Natural, vanderWaals) within the impact theory region and
an extended wing region beyond for the statistical regime. The transition between these regimes is defined by the detuning frequency (Nefedov+1999, Burrows+2000, Iro+2005). Einstein Aul [s1] = gf / (1.499E14 ⋅ (2J+1) ⋅ λ^{2}) where gf is the tabulated oscillator strength, J is the upperstate rotational number and λ is the wavelength [nm]. Natural halfwidth [cm1] = γ_{rad} / (4πc) where γ_{rad} [s1] is the radiative damping constant and c the speed of light [cm/s]. Collissional halfwidth [cm1/atm] (T/296)^{0.7} = γ_{6} ⋅ 8.62489e+18 / (4πc) where γ_{6} [s1] is the van der Waals damping constant (neutral hyrogen) and T is the temperature [K]. Detuning frequency [cm1] = 25 ⋅ [T/(ma⋅250)]^{0.5} in this approximation, ma is the molar mass [amu] of the atmosphere. Extended lineshape model = (vv_{0})^{3/2}⋅exp(h(vv_{0})/kT) where v_{0} is the line center [cm1].  
Continuum processes 
Rayleigh molecular scattering: Rayleigh scattering results from the electric polarizability of the molecules/atoms. The oscillating electric field of a light wave acts on the charges within a molecule/atom, causing them to move at the same frequency. The molecule/atom, therefore, becomes a small radiating dipole whose radiation we see as scattered light.
The treatment of Rayleigh in PSG follows the methodology described in Sneep & Ubachs (2005, JQSRT), in which each molecule/atom is added following their polarizability Table
Raman molecular scattering: At wavelengths approaching the size of the molecules, the oscillating electric field of a light wave acts on the charges within a particle, leading to the molecule to become a radiating dipole. Rayleigh results from the elastic scattering of radiation, while a small fraction is scattered inelastically, with the scattered photons having an energy different (usually lower) from those of the incident photons  these are Raman scattered photons. In PSG, we model Raman following the original method developed by (Pollack et al., 1986), which has been adapted to include the Raman cross sections for H2 and N2 computed by (Oklopčić et al., 2017). Refraction: refraction is the change in direction of light as it progresses along the atmosphere with gradually changing refraction index. How much the light is refracted is determined by the change in wave speed and the initial direction of wave propagation relative to the direction of change in speed, and can be modelled following Snell’s law. PSG considers four possible scenarios for refraction a) H2 atmosphere for molar masses lower than 3 g; b) He atmosphere for molar masses 3 to 10; c) air [N2/O2] atmosphere for molar masses 10 to 35; and d) CO2 atmosphere for molar masses greater than 35. The refraction indexes constants are compliled from refractiveindex.info. Collissioninduced absorption (CIA): collisioninduced absorption and emission are generated by inelastic collisions of molecules in a gas. Such inelastic collisions (along with the absorption or emission of photons) may induce quantum transitions in the molecules, or the molecules may form transient supramolecular complexes with spectral features different from the underlying molecules. Collisioninduced absorption and emission is particularly important in dense gases, such as hydrogen and helium clouds found in astronomical systems. The available CIAs datasets (from HITRAN and references therein are): CH4Ar CH4CH4 CH4He CO2Ar CO2CH4 CO2CO2 CO2H2 CO2He CO2O2 H2CH4 H2H H2H2 H2He H2OH2O H2ON2 HeH N2CH4 N2H2 N2H2O N2He N2N2 O2CO2 O2N2 O2O2 PSG integrates the MT_CKD water continuum (v3.5, Payne et al. 2021) by transforming it to CIAs (Kofman & Villanueva 2021): Self Foreign Ultraviolet (UV) broad absorptions (λ < 1.0 μm): The high energies (optical/UV/EUV) of a molecule are normally described by a nonquantizied broad swath of energy levels. Many of these highly energetic levels lead to the photodissociation/disintegration of the molecule. The spectroscopic signatures for a molecule in this domain are typically not captured by classical linelists, and therefore PSG complements linelists by including crosssections from the MPIMainz UV/VIS Spectral Atlas and other UV databases/references. 
Molecule Type  

Opacity generator
Scattering aerosols (105 species)
Download full list
As light travels across an atmosphere, it is absorbed (then transformed into heat and thermally emitted) and it is also scattered into many directions. Scattering in this sense, refers to the reflection and deflection of photons in a 3D manner across an atmosphere. When this process is active in an atmosphere, it leads to an “ambient” diffuse shine and a peculiar light pattern when looking close to the Sun. For instance, when no scattering is active (only absorption), we would have black skies with only a point source of light at the location of the Sun. Molecular Rayleigh scattering is the reason we have blue skies, in which molecules “scatter” in many directions, and in which photons are scattered towards the observer even when the Sun is quite far from the observed patch of the sky. As can be quickly inferred, computing scattering is therefore a 3D problem, which can be numerically extremely difficult to solve since photons need to be tracked across the full threedimensions (azimuth angle, polar angle, depth/altitude). In a nonscattering medium, the solution of the radiative transfer equation is straightforward, with only needing to track the photons as they go through the incidence and emission paths. For such case, PSG can solve this integrodifferential equation readily and efficiently without needing to solve any multiple scattering 3D problem.Ultimately, solving a full 3D integrodifferential scattering problem for the myriad of possible incidence and emission angles would appear in principle unattainable. Several methods do exist, and these include the doublingadding method, the discrete ordinates approach, the successive orders of scattering method, GaussSeidel iteration, and the Monte Carlo approach, among others. In particular, Chandrasekhar introduced in 1940 a pioneering method for solving radiative transfer in a scattering medium, the discrete ordinate method. The primary merit of this method is that it reduces the integrodifferential equation to a system of ordinary differential equations, and it divides the scattering directions into numerical series. The foundation math and the proposed numerical implementation are still at the core of the most popular modern scattering methods, yet the original implementation suffered from many numerical and stability issues, and basically doomed Chandrasekhar’s analytic approach for any but the isotropic and Rayleigh scattering problems. In the 1970s, the discrete ordinate method was further improved and many numerical enhancements were developed to improve its accuracy (e.g., Liou, 1973; Wiscombe, 1977). These codes were still plagued with instabilities and issues at high opacities, requiring exorbitant number of computational layers and scattering polar angles. For instance, in the popular deltaEddington method, the high opacity instability was sidestepped by subdividing layers until each sublayer was optically thin, which was extremely computational expensive or impractical for many problems.
In the 1980s, the foundational work by Stamnes and others, led to the now widely used DISORT package (Stamnes et al., 2000, 1988), which captures the pioneering discrete ordinate math by Chandrasekhar, the improvements done in the 1970s and finally solved the many issues affecting this method (e.g., stable for high opacities, accurate for low number of polar angles). Since its inception, DISORT has been constantly updated and improved, yet the core foundational concepts have not substantially changed since then. In PSG, we employ the core methods of DISORT 2.1 written in C by Dowling and colleagues (Buras et al., 2011) which we adapted for nonLTE and optimized to operate with a variety of spectral grids (e.g., linebyline, correlatedk, surface scattering grids) as employed by the PSG radiative transfer algorithm. The model includes correction for pseudospherical geometry as described by (Dahlback and Stamnes, 1991).
Molecular (Rayleigh) and aerosols (Mie) scattering
The two main processes dominating scattering in an atmosphere can be separared into molecular (Rayleigh) scattering and aerosols (Mie) scattering. Molecular scattering results from the electric polarizability by molecules, which are much much smaller than the wavelength of the radiation. The amount of scattering is inversely proportional to the fourth power of the wavelength, so its effects is prominently at short wavelengths (lower than 1 micron). Aerosols scattering can be modelled employing Mie theory (Rayleigh scattering can be also described with Mie theory), and therefore this type of scattering by small particles is called Mie scattering. Molecular scattering tends to be more isotropic, while aerosols scattering is more promiment at wavelengths comparable to the size of the particles, and tends to have a very directed phase function, leading to notable asymmetries in the observed fluxes with respect to phase angle. In the examples below, we show synthetic allsky images computed with PSG considering molecular scattering and aerosols scattering for several planets (e.g., Earth, Mars, Titan, Uranus) and aerosol content.
Earth  Cloudy Earth  Overcast Earth 
Dusty Mars  Hazy Titan  Uranus 
Atmospheric scattering: As the Sun moves across a planetary atmosphere, its photons are scattered in different directions with a pattern defined by the wavelength of the photons. The slices top/bottom panels show the sunset for zenith angles (70,75,80,85,90) at a solar azimuth angle of +/20 and for observational zenith angles below 45 degrees. The middle animations show allsky views for different solar zenith angles. As it is shown for Earth’s clear atmosphere, the scattering pattern is mostly symmetric when Rayleigh dominates, while when clouds are added a nonsymmetric halo is added towards the Sun direction because of Mie aerosols scattering. In the case of Mars, the atmosphere switches from a ‘brownish’ color to a ‘blueish’ tint at high solar zenith angles due to the preferential Mie scatter of Mars dust particles at red wavelengths. 
Converting aerosol abundances: PSG ingests aerosol abundances f in [kg/kg] or [g/g], yet many references report aerosols in several different units. If one uses the scattering models computed in PSG, these incorporate a lognormal distribution with S=1.5, then exp(3ln^{2}S) = 0.6107 (more information in chapter 5 of the handbook). A common unit is N [particles/cm3], to determine X [kg/kg] for N=1 [particles/cm^{3}], P=5e3 [bar], T=340 [K], m_{atm}=18 [g/mol], particle radius (not diameter) r_{haze}=1e5 [cm], ρ_{haze}=1.36 [g/cm^{3}], N_{A} [6.022140857e23 molecule/mol]:
V_{haze} = π (4/3) ⋅ r_{haze}^{3} = 4.2e15 [cm^{3}] Volume of each haze particle
m_{haze} = V_{haze} ⋅ ρ_{haze} ⋅ exp(3ln^{2}S)= 3.5e15 [g]
ρ_{atm} = 1E1 ⋅ P / (KB [1.38064852e23] ⋅ T) = 1.065e+17 [molecules/cm^{3}]
f_{haze} = N ⋅ m_{haze} ⋅ N_{A} / (ρ_{atm} ⋅ m_{atm}) = 1.1E9 [g/g] (aerosol mass abundance)
Aerosol  

Defining the surface
As light arrives to a surface at a particular wavelength, it can be either be absorbed or scattered. Processes such as surface fluorescence or Raman will transfer some of this energy to a different wavelength, but for our treatment in PSG, we simply consider this as an absorption process at this wavelength. The direction and intensity of the scattered light requires of complex modeling, and several methods exist (e.g., Lambert, Hapke). The light absorbed will heat the surface, and this together with other internal sources of heat will lead to thermal emission (with an associated directionality and effectiveness/emissivity). How effective the surface scatters light is defined by the single scattering albedo, where 0 means the light is totally absorbed and to 1 the light is totally scattered back.
What is being observed or “reflected” back will depend on how this surface scatters back, and we would then require information about the observing geometry, the directability of the emissions and the geometry of the incidence fluxes. Three angles are used to define the geometry: i “incidence angle” is the angle between the Sun (or hoststar) and the line perpendicular to the surface at the point of incidence, called the normal; e “emission angle” is the angle between the surface normal and the observer; and g “phase angle”, which is the angle between the source and observer (not to be confused with solar azimuth angle, which is the projection of the phase angle).
The quantity that captures how much light is being reflected towards the observer is called r(i,e,g) “bidirectional reflectance”, which is in units of per [sr], with steradians [sr] being a unit of solid angle. A common alternative quantity is the BRDF or “bidirectionalreflectance distribution function”, which describes the reflectivity of the surface with respect to a Lambertian sphere, and it is simply r/cos(i). Similarly for emission, directional emissivity is the ratio of the thermal radiance emerging at emission angle e from the surface with temperature T with respect to a black body at the same temperature.
Once the geometry (i,e,g) and the specific scattering properties (e.g., ) are defined, we would then need a scattering model to accurately model the emissions from a sphere. In PSG, four core models are available: Lambert (isotropic scattering), Hapke (parametric surface scattering), LommelSeeliger (weakly scattering / diffuse surfaces) and CoxMunk (specular glint scattering model).
Surface materials (29572 components)
Download full list
Properly modeling spectroscopic features of planetary surfaces over a wide wavelength range requires a comprehensive and inclusive spectroscopic database. These parameters are used to establish the "boundary" conditions for the radiative transfer calculations. There is currently no single repository that integrates optical constants and reflectances of solid surfaces and ices over a wide spectral range (only specialized databases exist). We have identified eleven spectral databases that are applicable to the synthesis of planetary spectra, and we have developed a program to standardize and homogenize these libraries of spectral constants. RELAB Reflectance Experiment Laboratory
 NASA Goddard's Cosmic Ice Laboratory
 NASA Ames' Database of Astrochemical Ices
 NASA ASTER Spectral Library
 The PDS Geosciences Spectral Library
 MRO CRISM Type Spectra Library
 USGS Digital Spectral Library
 Grundy's optical constants of Ices
 PDS Ices database
 Database of Optical Constants for Cosmic Dust
 Grenoble Astrophysics and Planetology Solid Spectroscopy and Thermodynamics database service
Component  
