= RSQSim Batch Plot Gen = OpenSHA tool to generate a set of plots for quick analysis of RSQSim catalogs == Usage == First, download the latest jar file: http://opensha.usc.edu/dev/opensha-complete/nightly/opensha-complete.jar {{{ java -cp opensha-complete.jar scratch.kevin.simulators.plots.RSQSimBatchPlotGen Missing required options: g, c, o usage: RSQSimBatchPlotGen [-a] -c -g [-m ] [-mas] [-mfd] [-n ] -o [-pmfd] [-pri ] [-s ] [-ssri ] [-tri ] [-u ] -a,--plot-all Flag to generate all plots -c,--catalog-file Path to one of the .*List files, or a directory containing them -g,--geometry-file Geometry file -m,--min-mag Minimum mag nitude to load/plot (default is load all) -mas,--mag-area-scaling Magnitude area scaling plot. -mfd,--total-mfd Plot total regional MFD -n,--name Short name for this catalog for use in plots (Default: RSQSim Catalog) -o,--output-dir Output directory where plots should be written -pmfd,--parent-sect-mfds Plot parent section participation MFDs -pri,--parent-sect-ris Parent section recurrence interval distribution plots -s,--skip-years Time in years to skip from the beginning of the catalog, relative to the first observed event time -ssri,--sub-sect-ris Sub section RI CSV file and scatter (if U3 values supplied) -tri,--total-ri Total recurrence interval distribution plot -u,--ucerf-sol UCERF3 Fault System Solution file for comparisons }}} For example, to generate all plots for a catalog stored in ./test_catalog {{{ java -cp opensha-complete.jar scratch.kevin.simulators.plots.RSQSimBatchPlotGen --geometry-file ./test_catalog/UCERF3.D3.1.1km.tri.2.flt --catalog-file ./test_catalog/ --output-dir example_plots/ --plot-all }}} === Additional Arguments === ==== UCERF3 Comparisons ==== If you wish to include UCERF3 comparisons, first download [http://opensha.usc.edu/ftp/kmilner/ucerf3/2013_05_10-ucerf3p3-production-10runs/2013_05_10-ucerf3p3-production-10runs_COMPOUND_SOL_FM3_1_MEAN_BRANCH_AVG_SOL.zip this file]. Then add this argument: --ucerf-sol /path/to/2013_05_10-ucerf3p3-production-10runs_COMPOUND_SOL_FM3_1_MEAN_BRANCH_AVG_SOL.zip ==== Minimum Magnitude ==== To speed things by skipping small events, use the --min-mag argument ==== Skipping the first N years ==== To skip the first N years (during spin up), use the --skip-years argument ==== Custom catalog name in plots ==== To name your catalog (will show up in legends/plot titles), use the --name argument