Atmosphere¶
The atmosphere module contains structures to make the total
atmospheric properties required by DISORT.
- class pyrt.atmosphere.Atmosphere(*args)[source]¶
A structure to compute the total atmospheric properties.
Atmosphere accepts a collection of atmospheric properties for each constituent in the model. It then computes the total atmospheric arrays from these inputs.
- Parameters
args (tuple) – Tuple of (optical depth, single scattering albedo, phase function) for each constituent to add to the atmospheric model.
- Return type
None
- property legendre_moments: numpy.ndarray¶
Get the total Legendre coefficient array of the atmosphere. This is computed via
\[P = \frac{\Sigma \tilde{\omega}_i * \tau_i * P_i} {\tilde{\omega} * \tau}\]where \(P\) is the total phase function array, \(P_i\) is the phase function of each constituent, and the other variables are defined in the other properties.
Notes
Each eleemnt of this variable along the wavelength dimension is named
PMOMin DISORT.
- property optical_depth: numpy.ndarray¶
Get the total optical depth of the atmosphere. This is computed via
\[\tau = \Sigma \tau_i\]where \(\tau\) is the total optical depth, and \(\tau_i\) is the optical depth of each of the atmospheric species.
Notes
Each element of this variable along the wavelength dimension is named
DTAUCin DISORT.
- property single_scattering_albedo: numpy.ndarray¶
Get the single scattering albedo of the atmosphere. This is computed via
\[\tilde{\omega} = \frac{\Sigma \tilde{\omega}_i \tau_i}{\tau}\]where \(\tilde{\omega}\) is the total single scattering albedo, \(\tilde{\omega}_i\) is the single scattering albedo of an individual species, and \(\tau\) is the total optical depth.
Notes
Each element of this variable along the wavelength dimension is named
SSALBin DISORT.