Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The python script that writes these JSON files is: https://github.com/ucgmsim/slurm_gm_workflow/blob/jsonmaster/write_jsons.py

Code Block
usage: write_jsons.py [-h] [-sj] [-sf] run_folder

positional arguments:
  run_folder           path to cybershake run_folder eg'/nesi/nobackup/nesi002
                       13/RunFolder/Cybershake/v18p6_batched/v18p6_exclude_1k_
                       batch_2/Runs/' or '/nesi/nobackup/nesi00213/RunFolder/C
                       ybershake/v18p6_batched/v18p6_exclude_1k_batch_2/Runs/H
                       ollyford'

optional arguments:
  -h, --help           show this help message and exit
  -sj, --single_json   Please add '-sj' to indicate that you only want to
                       output one single_json json file that contains all
                       realizations. Default output one json file for each
                       realization
  -sf, --single_fault  Please add '-sf' to indicate that run_folder path
                       points to a single fault eg, add '-sf' if run_folder is
                       '/nesi/nobackup/nesi00213/RunFolder/Cybershake/v18p6_ba
                       tched/v18p6_exclude_1k_batch_2/Runs/Hollyford'

...