diff --git a/conf/real-from-d2-ana/simulation.yml b/conf/real-from-d2-ana/simulation.yml index 04f953770bd314fdb7428c25c4289453adbb7235..a51252fc41adbb3c23582a9848a738b75d84f7af 100644 --- a/conf/real-from-d2-ana/simulation.yml +++ b/conf/real-from-d2-ana/simulation.yml @@ -17,7 +17,7 @@ simulation: lbc_map: "%HPCROOTDIR%/proj/namelists/real-from-d2-ana/map_file.latbc" # List of output file names that will be copied (Wildcards * allowed) - output_file_names: "idfrf*.nc" + output_file_names: "idfrf*.nc *namelist" files_to_clean: "*.nc" initial_conditions: diff --git a/templates/common/run_icon.sh b/templates/common/run_icon.sh index 44741daae6f6f6857d83c94d3ef899c5b39c6079..e1335a21b13c29274c088b508820e20278002563 100644 --- a/templates/common/run_icon.sh +++ b/templates/common/run_icon.sh @@ -37,3 +37,7 @@ ICON_LAUNCH_CMD="%ICON.LAUNCH_CMD%" # Run icon ${ICON_LAUNCH_CMD} icon + +# copy namelists to output directory +OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER} +cp *.namelist ${OUTPUT_DIR} \ No newline at end of file