Skip to content

Commit d600c3a

Browse files
committed
Update 02_surge2steady experiment using new restart file.
1 parent c6adf29 commit d600c3a

File tree

5 files changed

+413379
-338771
lines changed

5 files changed

+413379
-338771
lines changed

expr/02_surge2steady/make_experiment.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
# glacier identifer
77
key = 'crmpt12'
88
# walltime in hh:mm:ss
9-
WT = '48:00:00'
9+
WT = '36:00:00'
1010
# memory allocation
1111
MEM = '4000M'
1212

1313
# base command used to execute a single simulation
14-
cmd = "./surge2steady.py -k \"{KEY}\" -SP 2 -QP 4000 -beta {beta:1.3e}"\
15-
" -cycle2 -RESTART crmpt12_dx_50_NT_40_dt_0.05_MB_-0.36_OFF_Tma_-8.5_B_{beta:1.3e}_pseudo_NT_2000_recovery.result"
14+
cmd = "./surge2steady.py -k \"{KEY}\" -SP 2 -QP 4000 -beta {beta:1.3e}"#\
15+
#" -cycle2 -RESTART crmpt12_dx_50_NT_40_dt_0.05_MB_-0.35_OFF_Tma_-8.5_B_{beta:1.3e}_pseudo_NT_2000_recovery.result"
1616

1717
# open the commands file used by the job array
1818
with open(f'./run/{key}/{key}.commands', 'w') as f:
@@ -23,6 +23,7 @@
2323
# dump the command in the text file
2424
f.write(cmd.format(KEY=key, beta=beta))
2525
f.write('\n')
26+
2627
# account for pythons zero indexing
2728
i += 1
2829

expr/02_surge2steady/params/crmpt12.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"offset": -0.36,
2+
"offset": -0.35,
33
"T_ma" : -8.5,
44
"dx" : 50,
5-
"RESTART" : "crmpt12_dx_50_NT_30000_dt_0.1_MB_-0.36_OFF_Tma_-8.5_prog.result",
5+
"RESTART" : "crmpt12_dx_50_NT_30000_dt_0.1_MB_-0.35_OFF_Tma_-8.5_prog.result",
66
"z_lim": 2400,
77
"SD_dt": 0.05,
88
"ST_dt": 0.05,

0 commit comments

Comments
 (0)