diff --git a/share/ecwam/scripts/ecwam_run_model.sh b/share/ecwam/scripts/ecwam_run_model.sh index 213a85ed..d2b3e7e6 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 47ab56eb..6cd5be5e 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 <