Difference between revisions of "New BBP Validation Package"

From SCECpedia
Jump to navigationJump to search
Line 16: Line 16:
 
<values, 6 per row in %.6e format>
 
<values, 6 per row in %.6e format>
 
</pre>
 
</pre>
 +
You can use the script in ~callag/scripts/convert_bbp_to_acc.py to convert an acceleration BBP file into 3 .acc files.
 
</li>
 
</li>
 
</ol>
 
</ol>

Revision as of 21:03, 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>
    

    You can use the script in ~callag/scripts/convert_bbp_to_acc.py to convert an acceleration BBP file into 3 .acc files.

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.