oasislmf.computation.run.exposure

Module Contents

Classes

RunExposure

Generates insured losses from preexisting Oasis files with specified

RunFmTest

Runs an FM test case and validates generated

class oasislmf.computation.run.exposure.RunExposure(**kwargs)[source]

Bases: oasislmf.computation.base.ComputationStep

Generates insured losses from preexisting Oasis files with specified loss factors (loss % of TIV).

step_params[source]
run()[source]

method that will be call by all the interface to execute the computation step

class oasislmf.computation.run.exposure.RunFmTest(**kwargs)[source]

Bases: oasislmf.computation.base.ComputationStep

Runs an FM test case and validates generated losses against expected losses.

only use ‘update_expected’ for debugging it replaces the expected file with generated

step_params[source]
search_test_cases()[source]
run()[source]

method that will be call by all the interface to execute the computation step

execute_test_case(test_case)[source]