Difference between revisions of "UCVM Review"
Line 88: | Line 88: | ||
== Results of latest Basin Query == | == Results of latest Basin Query == | ||
Query requirements are from "Test Case for Basin Region Specs" with query interval set at 20 m | Query requirements are from "Test Case for Basin Region Specs" with query interval set at 20 m | ||
− | + | *[[Basin Query Result]] | |
== Related Entries == | == Related Entries == |
Revision as of 23:15, 20 November 2017
This entry defines test cases used to document performance of the UCVMC v17.1 release.
Contents
- 1 Test Case ucvm2mesh and ucvm2mesh-mpi tests
- 2 Test Case for basin_query serial and mpi tests
- 3 Test Case for Basin Query depth Algorithm
- 4 Test Case for Blue Waters and Titan
- 5 Test Case for Tomography Utility Projection
- 6 Test Case for Basin Region Specs
- 7 Velocity mesh plotting scripts from CyberShake codebase
- 8 Basin_Query Existing Results
- 9 Introductory Presentations
- 10 Cross Section Plots CCA Models
- 11 UCVM-Python Tutorials
- 12 Basin Depth Algorithm Description
- 13 UCVM Scripts and Utilities
- 14 Results of latest Basin Query
- 15 Related Entries
Test Case ucvm2mesh and ucvm2mesh-mpi tests
- The goal of this test is to construct AWP test meshes using both ucvm2mesh and ucvm2mesh-mpi.
- Test that shows equivalent input files for ucvm2mesh and ucvm2mesh-mpi. Also includes the job submit script for mpi job, and defines the restrictions on number of nodes.
- Test that shows the mesh values returned by these methods are identical.
- Test that shows plots of output meshes, using mesh plotting utilities from scott described below.
- Test that shows cross section plots from model and from mesh for same region.
- Update ucvmc Installation instructions need to be updated to describe how to create mpi version if running on usc hpc.
Test Case for basin_query serial and mpi tests
- The goal of this test is to evaluate the results from basin_query and basin_query_mpi to demonstrate the produce the same results.
- Test case that queries basin_query and basin_query_mpi showing that they return the same depth values.
Test Case for Basin Query depth Algorithm
- Goal of this test is to document the algorithms available in ucvmc, and show example return values for each.
- Test that confirms basin_query and basin_query_mpi return the same value for the same point. Document which of the basin_query values is returned by basin_query_mpi
- Test that shows what basin_query and basin_query_mpi return for points outside the defined volume of the model
- Test that shows how basin_query and basin_query_mpi support model tiling.
Test Case for Blue Waters and Titan
- Install UCVMC 17.1 on Blue Water and Titans.
- Regenerate ucvm2mesh_mpi meshes and confirm them match ones from USC
Test Case for Tomography Utility Projection
- Test cases showing that projection issue in CCA06 is fixed. Confirm this is in latest UCVMC
Test Case for Basin Region Specs
- The goal of this test is to reproduce the z1.0 and z2.5 basin models for three California velocity models. These binary files will be given to OpenSHA for use in GMPE calculations. Results we return will describe the algorithm they use to determined the returned depth value.
- CCA: [minLat = 33.35, minLon = -123.0, nx = 1551, ny = 1201, gridSpacing = 0.005 degrees]
- CVM-S4.26 and CVM-S4.26-M01: [minLat = 31.0, minLon = -121.0, nx = 1701, ny = 1101, gridSpacing = 0.005 degrees]
- Output format for the basin data sets is a binary regular mesh format with separate files for Z1.0 and Z2.5 in meters
- Output binary files are checked by plotting and comparing with previous versions
- The binary files are 4 byte float, little endian, fast XY, no rotation.
- The first data point is bottom left (at minX, minY).
- The formulas for lat/lon at a given x/y index:
lon = xIndex * gridSpacing + minLon lat = yIndex * gridSpacing + minLat
- The formula for calculating the file position for a given xIndex/yIndex:
filePos = 4 * (nx * yIndex + xIndex)
Velocity mesh plotting scripts from CyberShake codebase
As part of the CyberShake work, we've developed a few Python scripts for plotting horizontal cross-sections (plot_horiz_slice.py), vertical cross-sections (plot_vertical_slice.py), and profile plots (plot_profile.py). The scripts are available in the CyberShake SVN repository, at http://source.usc.edu/svn/cybershake/import/trunk/UCVM/smoothing/ . As input, they expect a mesh in AWP format, and also a model coords file, which contains a listing of the lat/lon values for each surface point in the mesh (this is used for decimation purposes).
Sample plots produced using these scripts can be seen here.
Basin_Query Existing Results
Binary Z files used in OpenSHA, along with some metadata, are posted here:
- 4.26-M01: https://github.com/opensha/opensha-commons/tree/master/src/resources/data/site/CVM4i26
- CCA06: https://github.com/opensha/opensha-commons/tree/master/src/resources/data/site/CCAi6
We plan to implements a way to read these files and plot them in python which can be included with UCVM. Plotting would be similar to existing horizontal slide plotting scripts (which are likely included in both versions of UCVM, though I have not used them), and will be a useful feature going forward. Once that tool exists, comparisons will become easier.
If in the meantime help is needed extracting individual values from these files, there is an OpenSHA tool which can access them (via Java).
Introductory Presentations
Cross Section Plots CCA Models
UCVM-Python Tutorials
Training Day 1:
Additional training found on hypocenter (4 videos in the root here):
Basin Depth Algorithm Description
UCVM Scripts and Utilities
Results of latest Basin Query
Query requirements are from "Test Case for Basin Region Specs" with query interval set at 20 m