You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This document explains how to use the implementation of hazard_search.py for CyberShake v17p9. Note that it currently works for this version only

  • ssh your_login@dev01-quakecore.canterbury.ac.nz (if you don't have a login contact Melody or Daniel)
  • cd /var/www/seisfinder2/CLI
  • You will find lots of scripts, the one that you need to use is hazard_search.py.
    • python hazard_search.py -h will show the help for the script.
    • python hazard_search.py -l returns all the simulation groups we currently have (disabled and we only have v17p9).
    • python hazard_search.py -s cshake_ver latitude longitude IM (or --single cshake_ver latitude longitude IM) will create a temporary directory for you and will copy (if they exist) the empirical file for the closest station that we have for the given latitude and longitude. It will print some instructions on how to calculate hazard and deaggregation.
    • python hazard_search.py -m cshake_ver csv_file IM (or --multi cshake_ver csv_file IM) takes as input a CSV file containing latitude,longitude lines for several locations of interest. As previously, it will copy all the relevant empirical files to a temporary folder. The instructions printed will  be shorter, but you will be provided some bash scripts to automate the execution.

 

 

 

  • No labels