API Reference#
This page describes the pyRT_DISORT API, where the API is grouped by functionality. Many docstrings contain practical example code.
Columns#
Perhaps the most important set of DISORT inputs is the optical depth, single scattering albedo, and phase function in each layer of the model. You can create these on a per-aerosol basis and store them in a Column object. These can easily help you create the optical properties of the composite atmospheric model.
|
A data class to hold column information and interact with other column objects. |
Equation of state#
These describe utilities for working with equation of state variables.
|
Create the column density from a given grid of equation of state variables, assuming each grid point can be hydrostatically approximated. |
|
Compute the scale height of each model layer. |
Forward scattering#
These describe utilities for working with forward scattering properties.
|
Make a grid of extinction cross-section ratios. |
|
Make the optical depth in each model layer. |
|
Regrid the input array onto a new particle size and wavelength grid using nearest-neighbor interpolation. |
Phase function#
These describe utilities for working with phase functions.
|
Decompose a phase function into Legendre coefficients. |
|
Fit an asymmetry parameter to a phase function. |
|
Set all Legendre coefficients to 0 after the first negative coefficient. |
Construct a Henyey-Greenstein phase function. |
|
Get the Legendre coefficients of a Henyey-Greenstein phase function. |
Rayleigh scattering#
These describe utilities for working with Rayleigh scattering.
|
Make the generic Legendre decomposition of the Rayleigh scattering phase function. |
|
Compute the Rayleigh CO 2 Column. |
Vertical profiles#
These describe utilties for working with vertical profiles.
|
Construct a Conrath profile. |
Angles#
These describe utilities for working with angles.
|
Construct azimuth angles from a set of incidence, emission, and phase angles. |
Wavelengths#
These describe utilities for working with wavelengths.
|
Convert wavelengths to wavenumbers. |
Output arrays#
These describe utilities for constructing output arrays.
|
Make empty albedo of the medium array. |
|
Make empty diffuse up flux array. |
|
Make empty diffuse downward flux array. |
|
Make empty direct beam flux array. |
|
Make empty flux divergence array. |
|
Make empty intensity array. |
|
Make empty mean intensity array. |
|
Make empty transmissivity of the medium array. |
Surface arrays#
These describe utilities for constructing arrays of the surface.
|
Make a basic Hapke surface. |
|
Make a 2-lobed Henyey-Greenstein Hapke surface. |
|
Make a 2-lobed Henyey-Greenstein Hapke surface with roughness parameter. |