The automated workflow has the following planned and implemented layout. See below for a legend and summary of step inputs and outputs.
The steps have the following inputs and outputs:
All files after installation can be assumed to require sim/fault/root params as inputs
Index | Step | Inputs | Outputs | Description | Notes |
---|---|---|---|---|---|
1 | EMOD3D | Srf file VM | EMOD3D seis files EMOD3D xyts files | Performs the low frequency simulation | |
2 | merge_ts | EMOD3D xyts files | Merged xyts file | Merges the xyts files from EMOD3D together | |
3 | plot_ts | Merged xyts file | LF animation | Produces an animation from the merged EMOD3D xyts file | |
4 | HF | Stoch file Station ll file | HF binary file | Performs the high frequency "simulation" | |
5 | BB | EMOD3D seis files HF binary file | BB binary file | Merges the low frequency and high frequency binaries together into a BroadBand (BB) binary | |
6 | IM_calc | BB binary | IM calculations csv file | Calculates intensity measures for each station from the BB data | |
7 | IM_plot | IM calculations csv file | Graphs of IMs | Plots IM values | |
8 | rrup | Srf file | rrup csv file | Calculates station to fault/event distances | |
9 | Empirical | rrup csv file empirical config file | Empirical calculations csv file | Computes empirical intensity measures | |
10 | Verification | Empirical calculations file | ? | Currently not fully implemented | |
11 | clean_up | All non binary/log/IM_calc files | Tar files | Tars all non-final output files together into a single tar file | Intended to reduce the inode usage of completed runs |
12 | LF2BB | EMOD3D seis files | BB binary file | Converts an LF only run to the BB format | |
13 | HF2BB | HF binary file | BB binary file | Converts an HF only run to the BB format | |
14 | plot_srf | Srf file | Plot of srf slip values | Plots the srf slip values | |
GCMT2REL | GCMT file Event name to generate for | Realisation file | Generates realisation files from gcmt input data | Currently has to be run manually for all realisations | |
NHM2REL | NHM file Fault name to generate for | Realisation file | Generates realisation files from NHM input data | Currently has to be run manually for all realisations | |
REL2SRF | Realisation file | Srf file Stoch file Srfinfo file Sim_params file | Generates the srf/stoch/srfinfo/sim_params files from a realisation file | Currently has to be run manually for all realisations | |
SRFinfo2VM | Srfinfo file | Velocity Model (VM) | Uses the NZVM to generate a VM from the fault srfinfo file Uses the unperturbated srfinfo file if one is available, otherwise the first srfinfo file | Currently has to be run manually for all faults | |
install | Realisation name and index | Realisation directory Parent fault directory as required | Installs a realisation, creating its runs directory, sim_params yaml file and initial step specific sub-directories (LF, HF, BB) | The group version of this is the current entry point of the automated workflow Current implementation creates the scheduler management db and installs all realisations at once | |
plot_VM | VM | Plot of vm region | Plots the VM and surrounding region | ||
setup.py | GMSim version Station list Fault selection file "NHM" or "GCMT" Source data file (NHM or CMT file) Fault type (1-4) Perturbation version (If required) --no_pre_pro flag to start from install step | Simulation root directory scheduler management database Root_params.yaml (In Runs dir) | Generates the scheduler management db | To be run manually before the automated workflow can begin |