Skip to content
Snippets Groups Projects
Commit 0cc4cc22 authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Fix prepare_chunk.sh

parent 7b397ef5
No related branches found
No related tags found
1 merge request!2Split prepare_rundir.sh into three different stages for the whole experiment,...
......@@ -36,7 +36,7 @@ t2_unix=$(date -d "$Chunk_END_DATE" +%s)
checkpoint_time=$(((t2_unix - t1_unix)))
# Compute number of steps
dtime=300
dtime=180
nsteps=$((checkpoint_time / ${dtime}))
# Extend chunk 10 minutes to ensure checkpoint creation at the proper time
......@@ -157,10 +157,11 @@ FG_FILE=$( cat fg_file.txt )
# EOF
# TODO: The namelist shouldn't be hardcoded into the template files.
cat > icon_atmosphere.namelist << EOF
&run_nml
ltestcase = .false.
dtime = 180
dtime = ${dtime}
output = 'nml'
msg_level = 15
num_lev = 90
......@@ -172,11 +173,15 @@ cat > icon_atmosphere.namelist << EOF
/
&time_nml
dt_restart = ${checkpoint_time}
dt_restart = ${checkpoint_time}
/
&io_nml
dt_checkpoint = ${checkpoint_time}
/
&nwp_phy_nml
lupatmo_phy = .FALSE.
lupatmo_phy = .FALSE.
/
&grid_nml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment