Skip to content
Snippets Groups Projects
README.md 1.04 KiB
Newer Older
  • Learn to ignore specific revisions
  • Powers, Peter M.'s avatar
    Powers, Peter M. committed
    Example 2: A custom configuration
    
    -------------------------------
    
    
    __Working directory:__ `/path/to/nshmp-haz/etc/examples/2-custom-config`
    
    Powers, Peter M.'s avatar
    Powers, Peter M. committed
    
    
    Navigate to the directory above and execute the following:
    
    hazard ../../peer/models/Set1-Case1 "San Francisco,-122.40,37.75" config.json
    
    ```
    
    In this example we've overridden the configuration supplied by the model. Specifically:
    
    * The upper end of each hazard curve has been truncated at 3 standard deviations.
    
    * Hazard curves have been saved as poisson probability instead of annual rate.
    
    * Hazard curves have been calculated for 3 `imts` ([intensity measures](http://usgs.github.io/nshmp-haz/javadoc/index.html?org/opensha2/gmm/Imt.html), or spectral periods).
    
    Powers, Peter M.'s avatar
    Powers, Peter M. committed
    * The `imls` (intensity measure levels or x-values) of the resultant curves have been explicitely defined for each `imt`.
    
    Powers, Peter M.'s avatar
    Powers, Peter M. committed
    See the [configuration specification](https://github.com/usgs/nshmp-haz/wiki/Configuration) for details on default values and supported options and formats.
    
    #### Next: [Example 3 – Using a custom sites file](../3-sites-file)