oasislmf.manager

Classes

Module Contents

class oasislmf.manager.OasisManager[source]

Bases: object

computation_classes[source]
computations_params[source]
static computation_name_to_method(name)[source]

generate the name of the method in manager for a given ComputationStep name taken from https://stackoverflow.com/questions/1175208/elegant-python-function-to-convert-camelcase-to-snake-case

>>> OasisManager.computation_name_to_method('ExposurePreAnalysis')
'exposure_pre_analysis'
>>> OasisManager.computation_name_to_method('EODFile')
'eod_file'
>>> OasisManager.computation_name_to_method('Model1Data')
'model1_data'
consolidate_input(computation_cls, kwargs)[source]