...
Generates empirical data for a simulation structure set of data.
Requires IM_calculation to be complete for all realisations before running.
Code Block |
---|
python cybershake_investigation/scripts/gen_empirical.py
<path to the cybershake_root folder>
<path to the list file>
<path to the nhm file>
<Path to the meta_config weight file> (Found in Empirical util, gmm_weights_22p5_meta.yam)
<Path to the model_config weight file> (Found in Empirical util, model_config.yaml)
[--output_dir <Default to cybershake_root / Data / Empirical>]
[--component <Default rotd50>]
[--n_procs <To use multiprocessing, default 1>] |
gen_empirical_archive
Generates empirical data from an archived version of cybershake.
Requires just Source (Realisation csvs) and IM data from an archived version.
Code Block |
---|
python cybershake_investigation/scripts/gen_empirical_archive.py <path to the archive directory> <path to the site source db commonly used with GMHazard> <path to the ll file> <path to the vs30 file> <path to the z file> <path to the nhm file> <path to the meta_config weight file> (Found in Empirical util, gmm_weights_22p5_meta.yam) <path to the model_config weight file> (Found in Empirical util, model_config.yaml) <path to the output directory for empirical data> [--ss_db <path to the site source db commonly used with GMHazard, reduces site source distance calculations needed>] [--component <Default rotd50>] [--n_procs <To use multiprocessing, default 1>] |
...