sasktran2.Engine#

class sasktran2.Engine(config: Config, geometry: Geometry1D, viewing_geometry: ViewingGeometry)[source]#

Bases: object

An Engine is the main class that handles the radiative transfer calculation. The calculation takes place in two components.

First, upon construction of the Engine, the majority of the geometry information is computed and cached.

The main calculation takes place when calling calculate_radiance() with an sasktran2.Atmosphere object where the actual radiative transfer calculation is performed.

Parameters:
  • config (sk.Config) – Configuration object

  • model_geometry (sk.Geometry1D) – Geometry for the model

  • viewing_geo (sk.ViewingGeometry) – Viewing geometry

__init__(config: Config, geometry: Geometry1D, viewing_geometry: ViewingGeometry)[source]#

An Engine is the main class that handles the radiative transfer calculation. The calculation takes place in two components.

First, upon construction of the Engine, the majority of the geometry information is computed and cached.

The main calculation takes place when calling calculate_radiance() with an sasktran2.Atmosphere object where the actual radiative transfer calculation is performed.

Parameters:
  • config (sk.Config) – Configuration object

  • model_geometry (sk.Geometry1D) – Geometry for the model

  • viewing_geo (sk.ViewingGeometry) – Viewing geometry

Methods

__init__(config, geometry, viewing_geometry)

An Engine is the main class that handles the radiative transfer calculation.

calculate_radiance(atmosphere)

Performs the radiative transfer calculation for a given atmosphere

calculate_radiance(atmosphere: Atmosphere) Dataset[source]#

Performs the radiative transfer calculation for a given atmosphere

Parameters:

atmosphere (sk.Atmosphere) – The atmosphere object containing the atmospheric profile and constituents

Returns:

An xarray dataset containing the radiance and derivatives

Return type:

xr.Dataset