com1DFA.deriveParameterSetΒΆ
Create dictionary for parameter variations
Functions
append thickness values to GENERAL section if read from shp and not varied |
|
check if cell size of DEM in Inputs/ is same as desired meshCellSize if not - check for remeshed DEM or remesh the DEM |
|
Check if the resTypes asked for exist Warns the user if some do not, removes them from the resType list and updates the cfg |
|
check if thickness setting format is correct |
|
read info on which simulations shall be performed according to parameter variation |
|
set thickness values according to settings chosen and add info to cfg if thFromShp = True - add in INPUT section thickness and id info if thFromShp = False - check format of thickness value in GENERAL section |
|
Create a dictionary with all the parameters that shall be varied from the standard configuration; ONLY accounts for variations in section GENERAL |
|
determine thickness value if set from percentVariation and set from shp file and update percentVariation value that is used for exactely this sim |
|
determine thickness value if set from rangeVariation and set from shp file and update rangeVariation value that is used for exactely this sim |
|
set thickness value for thickness parameter for all features if multiple according to desired variation |
|
set thickness value for all features according to varType variation |
|
split variation in percent to create a list of factors to set parameter value for variations or if a rangeVariation is given in absolute values |
|
Check if all parameters in variationDict exist in default configuration and are provided in the correct format |