Skip to content
Snippets Groups Projects
README.md 1.09 KiB
Newer Older
  • Learn to ignore specific revisions
  • Powers, Peter M.'s avatar
    Powers, Peter M. committed
    Example 5: A more complex model
    -------------------------------
    
    Working directory: `/path/to/repo/nshmp-haz/etc/examples`
    
    Most PSHAs involve the use of more complex source models, the components of which might use different ground motion models. For this and ensuing examples, we'll use the 2008 USGS National Seismic Hazard Model (NSHM) for the western U.S.
    
    First, clone the 2008 USGS NSHM. Assuming `examples/` is the currnet working directory, the following will create a copy of the model adjacent to nshmp-haz:
    
    ```Shell
    git clone https://github.com/usgs/nshmp-model-cous-2008.git ../../..
    ```
    
    THe 2008 NSHM repository contains two source models one for the western U.S. and a one for the central and eastern U.S. More complex models make for longer, per-site calculations. The default configurations for the NSHM are set to output very large maps, which are time-consuming and inappropriate as examples. To compute hazard for a few sites in the Western U.S., execute:
    
    ```Shell
    hazard ../../../nshmp-model-cous-2008/Western\ US 5-complex-model/config.json
    ```
    
    #### Next: [Example 6](../4-enhanced-output)