pyatran.output.read_xsection_data

pyatran.output.read_xsection_data(fn_pars)[source]

Read SCIATRAN input cross-sections

This function reads all cross-sections which have been used in a SCIATRAN simulation. The filenames and temperatures are being read from the SCE_INP_PARS.OUT file from SCIATRAN’s DATA_OUT directory.

Parameters:

fn_pars : str

Path to the SCE_INP_PARS.OUT file from which the cross-section filenames shall be read.

Returns:

xs : xarray.Dataset

The cross-section data.