Advanced IMs
Phase 1:
Running opensees code using IM_Calc as a wrapper (IM_calc takes opensees path, advanced IM configuration file, and what IMs to calculate)
Takes an optional configuration file to specify advanced IMs and the script to run it
Multiple stations are handled by IM_calc code and a single station waveform is
Phase 2:
Each model takes in all waveforms for one station and handles it internally. (I.E. configuration in each model)
Phase 3:
Outputs are returned to the IM_calc code and written out to a file
Provisional workflow:
Inputs / config file parameters:
– waveform_path # Path to waveform files for a single rupture
– list_of_stations # List of stations we want to compute (defaults to all in folder)
– model_path # Path containing models
– model_list # List of models that we want to compute (defaults to all in folder)
– output_path # where to write the output files
Output csv format:
Station, FEM1_Acc, FEM1_Drift, FEM1_Disp, ...... FEMN_Acc, FEMN_Drift, FEMN_Disp
...