Source code for oasislmf.execution.files

__all__ = [
    'GENERAL_SETTINGS_FILE',
    'GUL_INPUT_FILES',
    'GUL_SUMMARIES_FILE',
    'INPUT_FILES',
    'IL_INPUT_FILES',
    'IL_SUMMARIES_FILE',
    'MODEL_SETTINGS_FILE',
    'OPTIONAL_INPUT_FILES',
    'TAR_FILE'
]

[docs] INPUT_FILES = { 'complex_items': {'name': 'complex_items', 'type': 'gul', 'conversion_tool': 'complex_itemtobin'}, 'items': {'name': 'items', 'type': 'gul', 'conversion_tool': 'itemtobin'}, 'coverages': {'name': 'coverages', 'type': 'gul', 'conversion_tool': 'coveragetobin'}, 'gulsummaryxref': {'name': 'gulsummaryxref', 'type': 'gul', 'conversion_tool': 'gulsummaryxreftobin'}, 'events': {'name': 'events', 'type': 'optional', 'conversion_tool': 'evetobin'}, 'amplifications': {'name': 'amplifications', 'type': 'optional', 'conversion_tool': 'amplificationstobin'}, 'fm_policytc': {'name': 'fm_policytc', 'type': 'il', 'conversion_tool': 'fmpolicytctobin'}, 'fm_profile': {'name': 'fm_profile', 'type': 'il', 'conversion_tool': 'fmprofiletobin', 'step_flag': '-S'}, 'fm_programme': {'name': 'fm_programme', 'type': 'il', 'conversion_tool': 'fmprogrammetobin'}, 'fm_xref': {'name': 'fm_xref', 'type': 'il', 'conversion_tool': 'fmxreftobin'}, 'fmsummaryxref': {'name': 'fmsummaryxref', 'type': 'il', 'conversion_tool': 'fmsummaryxreftobin'} }
[docs] GUL_INPUT_FILES = {k: v for k, v in INPUT_FILES.items() if v['type'] == 'gul'}
[docs] IL_INPUT_FILES = {k: v for k, v in INPUT_FILES.items() if v['type'] == 'il'}
[docs] OPTIONAL_INPUT_FILES = {k: v for k, v in INPUT_FILES.items() if v['type'] == 'optional'}
[docs] TAR_FILE = 'inputs.tar.gz'
[docs] GENERAL_SETTINGS_FILE = "general_settings.csv"
[docs] MODEL_SETTINGS_FILE = "model_settings.csv"
[docs] GUL_SUMMARIES_FILE = "gul_summaries.csv"
[docs] IL_SUMMARIES_FILE = "il_summaries.csv"