From 8d6d3e99b9de0d79af568432ce749e9b798cf172 Mon Sep 17 00:00:00 2001 From: Ahmad Nawab Date: Wed, 6 Dec 2023 20:26:31 +0000 Subject: [PATCH] IFS-SOURCE-ECWAM-SYNC: update preproc,preset,model runner scripts for updated namelists --- share/ecwam/scripts/ecwam_run_model.sh | 8 ++++++++ share/ecwam/scripts/ecwam_run_preproc.sh | 3 --- share/ecwam/scripts/ecwam_run_preset.sh | 8 ++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/share/ecwam/scripts/ecwam_run_model.sh b/share/ecwam/scripts/ecwam_run_model.sh index 213a85ed8..d2b3e7e67 100755 --- a/share/ecwam/scripts/ecwam_run_model.sh +++ b/share/ecwam/scripts/ecwam_run_model.sh @@ -76,6 +76,11 @@ for restart_time in $(read_config output.restart.at[:].time --format=%Y%m%d%H%M% NAOS+="&NAOS CLSOUT=\"${restart_time}\" /" done +# MODEL SETUP: +############## +wamnang=$(read_config directions) +wamnfre=$(read_config frequencies) + nproma=$(read_config nproma --default=24) # read timesteps @@ -196,6 +201,9 @@ ln -s ${DATA_DIR}/${forcings_file} sfcwindin cat > wam_namelist << EOF &NALINE + NANG = ${wamnang}, + NFRE = 36, + NFRE_RED = ${wamnfre}, CLHEADER = " WAVE MODEL ", CBPLTDT = "${begofrn}", CEPLTDT = "${endofrn}", diff --git a/share/ecwam/scripts/ecwam_run_preproc.sh b/share/ecwam/scripts/ecwam_run_preproc.sh index 47ab56ebb..6cd5be5ec 100755 --- a/share/ecwam/scripts/ecwam_run_preproc.sh +++ b/share/ecwam/scripts/ecwam_run_preproc.sh @@ -73,7 +73,6 @@ function cleanup() { wamresol=$(read_config grid) wamnfre=$(read_config frequencies) -wamnang=$(read_config directions) wambathy=$(read_config bathymetry) assert_executable_is_available ${PREPROC} || abort 33 @@ -111,7 +110,6 @@ cat > procin < procin < PREINFO <