Difference between revisions of "New BBP Validation Package"

From SCECpedia
Jump to navigationJump to search
(Created page with "This page outlines the process to create a new BBP validation package and use it to produce goodness-of-fit results <ol> <li>Copy over an already-existing validation package...")
 
Line 1: Line 1:
This page outlines the process to create a new BBP validation package and use it to produce goodness-of-fit results
+
This page outlines the process to create a new BBP validation package and use it to produce CyberShake goodness-of-fit results.
 +
 
 +
== Create BBP Validation Package ==
  
 
<ol>
 
<ol>
Line 5: Line 7:
 
<li>Copy the .src file and the .stl file that were used for the validation simulation.</li>
 
<li>Copy the .src file and the .stl file that were used for the validation simulation.</li>
 
<li>Edit the validation_config.txt file, if needed.  Possibly modify EVENT_VELOCITY_MODEL, P_CODEBASE_ALL_source, and P_CODEBASE_ALL_stations.</li>
 
<li>Edit the validation_config.txt file, if needed.  Possibly modify EVENT_VELOCITY_MODEL, P_CODEBASE_ALL_source, and P_CODEBASE_ALL_stations.</li>
<li>Create the .acc files.  There should be 1 file per station per component with the filename <station>_<comp>.acc.  These files use the following format:</li>
+
<li>Create the .acc files.  There should be 1 file per station per component with the filename <station>_<comp>.acc.  These files use the following format:
 
<pre>Rotated Accelerogram to <direction>
 
<pre>Rotated Accelerogram to <direction>
 
H1 for rotation: <station name> <original angle 1>
 
H1 for rotation: <station name> <original angle 1>
Line 14: Line 16:
 
<values, 6 per row in %.6e format>
 
<values, 6 per row in %.6e format>
 
</pre>
 
</pre>
 +
</li>
 +
</ol>
 +
 +
== Perform goodness-of-fit with CyberShake results ==
 +
 +
<ol>
 +
<li>Create empty simulation directory tree.</li>
 +
<li>Copy CyberShake *.vel.bbp and *.acc.bbp files to the outdata directory.</li>
 +
<li>Run the BBP, but skip all simulation stages and start with the plot_map module.</li>
 +
</ol>

Revision as of 21:02, 11 August 2021

This page outlines the process to create a new BBP validation package and use it to produce CyberShake goodness-of-fit results.

Create BBP Validation Package

  1. Copy over an already-existing validation package in $BBP_VAL_DIR.
  2. Copy the .src file and the .stl file that were used for the validation simulation.
  3. Edit the validation_config.txt file, if needed. Possibly modify EVENT_VELOCITY_MODEL, P_CODEBASE_ALL_source, and P_CODEBASE_ALL_stations.
  4. Create the .acc files. There should be 1 file per station per component with the filename <station>_<comp>.acc. These files use the following format:
    Rotated Accelerogram to <direction>
    H1 for rotation: <station name> <original angle 1>
    H2 for rotation: <station name> <original angle 2>
    rotation angle - n/a 
    Acceleration in g
    <npts>    <dt>    NPTS, DT
    <values, 6 per row in %.6e format>
    

Perform goodness-of-fit with CyberShake results

  1. Create empty simulation directory tree.
  2. Copy CyberShake *.vel.bbp and *.acc.bbp files to the outdata directory.
  3. Run the BBP, but skip all simulation stages and start with the plot_map module.