oasislmf.computation.hooks.pre_loss

Classes

PreLoss

Computation step that will be call just before loss compuation.

Module Contents

class oasislmf.computation.hooks.pre_loss.PreLoss(**kwargs)[source]

Bases: oasislmf.computation.base.ComputationStep

Computation step that will be call just before loss compuation. On the platform it will be called on each machine performing the loss calculation, Add the ability to specify a model specific step that will modify or expand on the loss calculation input file on each worker.

step_params[source]
run_dir_key = 'pre-loss'[source]
get_exposure_data_config()[source]
run()[source]

import pre_loss_module and call the run method