pyatran.output.read_sciatran_output

pyatran.output.read_sciatran_output(path, absorbers='all', stokes_dim=True)[source]

Read SCIATRAN output

Parameters:

path : str

Path to SCIATRAN output.

absorbers : list of str

Read relevant output only for these absorbers. If all, all absorbers’ output will be read, which can be slow.

stokes_dim : bool

If True, output arrays of vectorized radiative transfer (i.e., DOM_V) simulations will have an additional dimension stokes_component. If False, the Stokes component will be encoded as part of the geometry dimension (as a direct replication of SCIATRAN’s output_map.inf file).

In case of scalar radiative transfer (i.e., DOM_S or CDI), the output will not contain the Stokes component as dimension, irrespective of this setting.

Returns:

output : xarray.Dataset

The full SCIATRAN output in one single data structure