ana5Utils.distanceTimeAnalysis¶
functions to convert to a different coordinate system and produce a range-time diagram from simulation results options: 1) range-time diagram from radar’s field of view capped to this
thalweg-time diagram from beta point of view along avalanche path
Functions
compute maximal approach velocity based on front location (range) and time step |
|
save all info about range, time steps, average values to pickle for producing plots |
|
extract average values of flow parameter result at certain distance intervals (range gates) add info to be used for colorcoding range-time diagram |
|
extract avalanche front and mean values of flow parameter result field used for colorcoding range-time diagram |
|
determine avalanche front and average values of flow parameter along path update mtiInfo dictionary with this information |
|
split path name to fetch info on time step |
|
fetch radar location and direction of of field of view coordinates |
|
import mtiInfo data for creating range time plots, if no inputDir is provided, pickles are fetched from avaDir/Outputs/modName/distanceTimeAnalysis multiple pickles allowed- these carry also configuration info for distanceTimeAnalysis |
|
initialize generation of range-time diagram for visualizing simulation data |
|
mask range (already masked with radar field of view) also with avalanche result field where NOT above threshold |
|
function to create masked array of radar range using dem and radar’s field of view |
|
reset original origin to simulation DEM - required if for ava sim is set to something different |
|
create setup for creating range-time diagrams from avalanche simulation results with respect to a radar’s field of view |
|
initialize parameters and prerequisites for generating thalweg-time diagrams |