oasislmf.computation.hooks.post_file_gen

Classes

PostFileGen

Computation step that will be call just after oasis file generation.

Module Contents

class oasislmf.computation.hooks.post_file_gen.PostFileGen(**kwargs)[source]

Bases: oasislmf.computation.base.ComputationStep

Computation step that will be call just after oasis file generation. On the platform it will be called on a single machine before the files are copied on the several worker for the loss calculation Add the ability to specify a model specific step that will modify or expand on the loss calculation input file

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

import post_file_gen_module and call the run method