Changes between Version 2 and Version 3 of UCERF3FaultSystemSolutions


Ignore:
Timestamp:
May 5, 2014, 2:56:47 PM (10 years ago)
Author:
Kevin Milner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UCERF3FaultSystemSolutions

    v2 v3  
    1818
    1919=== Single Solution Extraction Utility ===
     20
     21A java utility has been provided to aid with the extraction of single logic tree branches from a Compound Fault System Solution. First, you must either obtain OpenSHA source code and build yourself (see SettingUpEclipse) or you can download the latest complete distribution jar file from here: http://opensha.usc.edu/dev/opensha-complete/nightly/opensha-complete.jar
     22
     23You then must run the following java class with all required arguments: scratch.UCERF3.utils.CompoundSolBranchExtractor <compound-sol-file> <branch> <output>
     24
     25Arguments:
     26* '''<compound-sol-file>''' - Path to compound solution zip file downloaded previously
     27* '''<branch>''' - Logic tree branch to extract. Branch choices should be separated by underscores in a single string as described [http://opensha.usc.edu/trac/wiki/RunningUCERF3Inversions#LogicTreeBranchNames here]. Example: FM3_1_ZENGBB_Shaw09Mod_DsrTap_CharConst_M5Rate7.9_MMaxOff7.6_NoFix_SpatSeisU3
     28* '''<output>''' - Path to output directory, or fully qualified file name. If directory is supplied, file name will be generated automatically from branch choices.
     29
     30Example to write the reference branch to /tmp:
     31{{{
     32java -Xmx4G /path/to/OpenSHA_complete.jar scratch.UCERF3.utils.CompoundSolBranchExtractor /path/to/full_ucerf3_compound_sol.zip FM3_1_ZENGBB_Shaw09Mod_DsrTap_CharConst_M5Rate7.9_MMaxOff7.6_NoFix_SpatSeisU3 /tmp/
     33}}}
     34
     35''Note that this will not work for files greater than 4.1 GB (ZIP64 files). If you see an error relating to an invalid header, this is likely the problem.''