read_scenario#
- read_scenario(config_file, warn=True, strict=False, *, format=None)[source]#
Load a sansmic scenario file.
- Parameters:
- Returns:
the sansmic scenario
- Return type:
- Raises:
RuntimeError – if there is an unrecognized option and
strict
is True, or if there are no stages defined.