-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathavaScenModelChainCfg.ini
More file actions
237 lines (191 loc) · 4.77 KB
/
avaScenModelChainCfg.ini
File metadata and controls
237 lines (191 loc) · 4.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# ------------------------------------------------------------------------------
# Avalanche Scenario Model Chain – Configuration File
# ------------------------------------------------------------------------------
#
# Purpose :
# Central configuration for the Avalanche Scenario Model Chain (Steps 00–15).
# Controls all preprocessing, PRA generation, FlowPy simulation, and
# AvaDirectory building through a unified parameter and workflow structure.
#
# Structure :
# [MAIN] Project metadata, paths, input rasters, and global settings
# [WORKFLOW] Step activation flags (PRA, FlowPy, AvaDirectory)
# [pra*] PRA delineation, filtering, segmentation, elevation/size
# [avaPARAMETER] FlowPy parameter generation (Step 09)
# [avaSIZE] Size back-mapping rules for FlowPy outputs (Step 11)
# [avaDIRECTORY] Avalanche Directory building and enrichment (Steps 13–15)
# [PLOTS] Optional visualization parameters
#
# Usage :
# - For project-specific overrides create:
# local_avaScenModelChainCfg.ini
#
# Author :
# Christoph Hesselbach
#
# Institution :
# Austrian Research Centre for Forests (BFW)
# Department of Natural Hazards | Snow and Avalanche Unit
#
# Date & Version :
# 2026-02 - 1.1
#
# ------------------------------------------------------------------------------
[MAIN]
initWorkDir = True
workDir = path/to/your/workDir
project = projectName
ID = projectID
DEM =
FOREST =
BOUNDARY =
COMMISSIONREGION =
COMMISSIONS =
AVAREPORT =
[WORKFLOW]
### all PRA steps
runAllPRASteps = False
# single PRA steps
praDelineation = False
praSelection = False
praBottleneckSmoothing = False
praSubCatchments = False
praProcessing = False
praSegmentation = False
praAssignElevSize = False
praPrepForFlowPy = False
praMakeBigDataStructure = False
### all FlowPy steps
runAllFlowPySteps = False
# single FlowPy steps
flowPyInputToSize = False
flowPyRun = False
flowPyOutputToSize = False
flowPyOutputCompress = False
flowPyDOutputDeleteOGFiles = False
flowPyDeleteTempFolder = False
# resume FlowPyRun if interrupted
resumeFlowPyRun = False
### all AvaDirectory steps
runAllAvaDirSteps = False
# single AvaDirectory steps
avaDirBuildFromFlowPy = False
avaDirType = False
avaDirResults = False
#test only
makeSingleTestRun = False
singleTestDir =
[praDELINEATION]
forestType = pcc
saveAllThresholds = False
singleThreshold = 0.30
radius = 6
prob = 0.5
winddir = 0
windtol = 180
[praSELECTION]
selectedThreshold = 0.30
minElev = 0
maxElev = 4000
aspectSector = all
maskCommRegion = True
[praBOTTLENECKSMOOTHING]
## tbc
[praSUBCATCHMENTS]
streamThreshold = 500
minLength = 100
smoothingWindowSize = 5
weightedSlopeFlow = False
[praPROCESSING]
minDirectNeighborsPass1 = 3
minDiagonalNeighborsPass2 = 2
outputCompression = LZW
maskNoDataValue = 0
[praSEGMENTATION]
sizeClass1 = 0,500
sizeClass2 = 500,2500
sizeClass3 = 2500,12500
sizeClass4 = 12500,62500
sizeClass5 = 62500,inf
sizeFilter = 500
[praASSIGNELEV]
elevationBand1 = 0,1800
elevationBand2 = 1800,2000
elevationBand3 = 2000,2200
elevationBand4 = 2200,2400
elevationBand5 = 2400,5000
[praPREPFORFLOWPY]
compressOutputs = True
# PRA vectorization/rasterization modes
enableRasterizePRA = True
rasterizeModePRA = attribute
# ID vectorization/rasterization modes
rasterizeAttributePRA = praAreaM
enableRasterizeID = True
rasterizeAttributeID = praID
# calculate boundaries for FlowPy efficiency
deriveBoundaries = False
[praMAKEBIGDATASTRUCTURE]
usePraBoundary = False
# min / max dry size class
minDrySizeClass = 2
maxDrySizeClass = 5
# min / max wet size class (no wet size 5)
minWetSizeClass = 2
maxWetSizeClass = 4
logDirectoryTree = False
[avaPARAMETER]
flowTypes = dry, wet
sizeRange = 2-5
[avaSIZE]
# Rel vol size dependent parametrization for
# > dry:
sizeMax = 5
alphaSize2 = 32
deltaAlpha = 3
uMaxSize2 = 8
deltaUMax = 18
constantExp = True
constantExpValue = 12
constantPraThickness = True
praThickness = 1
# Rel vol size dependent parametrization shift for
# > wet:
alphaDependendTemperature = True
sizeShiftAlpha = 0.5
sizeShiftUmax = -0.75
sizeShiftExp = 12
# Results to size
resParamsToSize =
# snow climate (not used ATM)
D0 = 0
deltaD = 0.001
constantTemperature = True
Tcons = -11
T0 = 0
deltaT = -0.01
TCold = -11
TWarm = -1
[avaDIRECTORY]
# core run control
runAll = False
# processing flags
doProcess = False
doSplit = False
doMergeReljson = False
doEnrich = False
doExtractMetadata = False
doClipRasters = False
doCollectSingleAva = False
# tuning
maxClipWorkers = 4
# rebuild behaviour
forceRebuildIndex = False
forceRebuildResults = False
[PLOTS]
ARel =
plotExponent = True
elevationMin = 100
elevationMax = 3000
theta = 35
d = 2