Skip to content

Commit eada298

Browse files
committed
New run script to allow for preemptive road relocation
1 parent c725a42 commit eada298

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

scripts/ocracoke_ms/Future_Runs_Test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414

1515
Save_Path = 'C:\\Users\\frank\\OneDrive - University of North Carolina at Chapel Hill\\Chapter 3\\Model Runs\\Summary_Values\\'
1616

17-
Management_Name = ['Status_Quo','Natural', 'Nourishment']
17+
#Management_Name = ['Status_Quo','Natural', 'Nourishment']
18+
Management_Name = ['Preemptive_Relocation']
1819
#RSLR_Rate = ['IL','I','IH']
19-
RSLR_Rate = ['IL','I','IH']
20+
RSLR_Rate = ['I']
2021
Sink_Name = ['Erosional_Sink','Accretional_Sink']
21-
#Sink_Name = ['Accretional_Sink']
22+
#Sink_Name = ['Erosional_Sink']
2223

2324
Storm_Level = 'Baseline'
2425

scripts/ocracoke_ms/run_forward_batch_forward_simulations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@
128128

129129
# Define which B3D island models have
130130
road_cells = [False] * Total_B3D_Number
131-
if status_quo == True:
131+
if status_quo == True or preemptive_relocation == True:
132132
road_cells[15:54] = [True]*len(range(15,54))
133133
else:
134134
road_cells[15:35] = [True]*len(range(15,35))
135135

136136

137137
sandbag_cells = [False] * Total_B3D_Number
138-
if status_quo == True:
138+
if status_quo == True or preemptive_relocation == True:
139139
sandbag_cells[15:54] = [True]*len(range(15,54))
140140
else:
141141
sandbag_cells[15:35] = [True]*len(range(15,35))
@@ -422,7 +422,7 @@ def alongshore_uniform(run_name,
422422
allow_causeway = allow_causeway
423423
)
424424

425-
for k in range(len(run_name)):
425+
for k in range(68,len(run_name)):
426426
for l in range(0,len(background_threshold_list)):
427427
alongshore_uniform(run_name=run_name[k][l],
428428
s_file=s_file[k],

0 commit comments

Comments
 (0)