read_dat#

read_dat(str_or_buffer, *, ignore_errors=False)[source]#

Read an old-style SANSMIC input DAT file.

Parameters:

str_or_buffer (Path, str or stream) – The file or stream buffer to process.

Returns:

the scenario derived from the DAT file

Return type:

Scenario