sasktran2.OutputIdeal#
- class sasktran2.OutputIdeal(nstokes: int)[source]#
Bases:
OutputThe default output container used by SASKTRAN2. Here radiances (and derivatives) are returned back densely for every input line of sight and wavelength without modification.
- Parameters:
nstokes (int) – Number of stokes parameters to store for the output quantities
- Raises:
ValueError – If nstokes is not 1 or 3
- __init__(nstokes: int)[source]#
The default output container used by SASKTRAN2. Here radiances (and derivatives) are returned back densely for every input line of sight and wavelength without modification.
- Parameters:
nstokes (int) – Number of stokes parameters to store for the output quantities
- Raises:
ValueError – If nstokes is not 1 or 3
Methods
__init__(nstokes)The default output container used by SASKTRAN2.
The internal output object that can be passed to the internal engine
post_process(atmo, geometry, viewing_geo)Converts the raw output values to a more usable format.
- internal_output() OutputIdealStokes_1 | OutputIdealStokes_3[source]#
The internal output object that can be passed to the internal engine
- Return type:
Union[sk.OutputIdealStokes_1, sk.OutputIdealStokes_3]
- post_process(atmo: Atmosphere, geometry: Geometry1D, viewing_geo: ViewingGeometry)[source]#
Converts the raw output values to a more usable format. Also performs the mapping of raw model derivatives to derivatives of the constituent input quantities.
- Parameters:
atmo (sk.Atmosphere) – Atmosphere object after calculation has been performed
geometry (sk.Geometry1D) – Geometry object
viewing_geo (sk.ViewingGeometry) – Viewing geometry
- Return type:
xr.Dataset