From d87a9688dd0fa9183351bf45ee24aec850b4cf69 Mon Sep 17 00:00:00 2001 From: corink21 Date: Mon, 18 Mar 2024 14:36:38 +0100 Subject: [PATCH] Temporary fix for "LATBC file not found" error in restart runs --- jobs/prepare_icon.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jobs/prepare_icon.py b/jobs/prepare_icon.py index ca3d6872..8f4e2515 100644 --- a/jobs/prepare_icon.py +++ b/jobs/prepare_icon.py @@ -34,6 +34,12 @@ def set_cfg_variables(cfg): cfg.restart_filename = 'restart_atm_DOM01.nc' cfg.restart_file = cfg.icon_restart_in / cfg.restart_filename cfg.restart_file_scratch = cfg.icon_work / cfg.restart_filename + cfg.ini_LBC_filename = cfg.startdate.strftime(cfg.lbcdata_prefix + + cfg.lbcdata_nameformat + + cfg.lbcdata_filename_suffix + ) + cfg.ini_LBC_file = cfg.icon_input_icbc_prev / cfg.ini_LBC_filename + cfg.ini_LBC_file_scratch = cfg.icon_input_icbc / cfg.ini_LBC_filename # Nudge type (global or nothing) cfg.nudge_type = 2 if hasattr(cfg,