ana3AIMEC.aimecTools

Main logic for AIMEC post processing

Functions

addFieldsToDF

add fields that will be added in aimec analysis to dataframe

addSurfaceParalleCoord

Add the surface parallel coordinate (along flow path taking elevation into account)

analyzeArea

Compare area results to reference.

analyzeField

analyze transformed field

analyzeMass

analyze Mass data

assignData

Transfer data from old raster to new raster

checkAIMECinputs

Check inputs before running AIMEC postprocessing

checkMultipleSimFound

Check if more than one file can be chosen as reference

computeCellSizeSL

Get the new (s, l) coordinate cell size read by default the reference result file cell size.

computeRunOut

Compute runout based on peak field results

defineRefOnSimName

Search for reference based on simulation name

defineRefOnSimValue

Search for reference based on configuration parameter and value

fetchReferenceSimNo

Define reference simulation used for aimec analysis.

findStartOfRunoutArea

find start of runout area point using splitPoint add info on x, y coordinates of point, angle, index - if defineRunoutArea=False - start of runout area is equal to the start of the thalweg -> in this case the entire SL domain represents the runout area

getMaxMeanValues

Compute average, max values in each cross section for a given input raster

getSArea

Get the s curvilinear coordinate and area on the new raster

makeDomainTransfo

Make domain transformation

makeTransfoMat

Make transformation matrix.

readAIMECinputs

Read inputs for AIMEC postprocessing

readWrite

Get mass balance information Read mass balance files to get mass properties of the simulation (total mass, entrained mass...).

scalePathWithCellSize

use desired cellsize to scale ava path and create s, l coordinates and coordinates of the resampled polyline in the old coord systems x, y

setAvaPath

fetch path shapefile, prepare for AIMEC, set z-coordinate

splitSection

Splits the ith segment of domain boundary DB in the s direction (direction of the path)

transform

Transfer data from old raster to new raster