Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get the current working version of gm_sim_pkg by using git clone:

    Code Block
    languagebash
    titleBash_code
    $ git clone git@github.com:ucgmsim/gm_sim_pkg.git
  2. Navigate into gm_sim_pkg directory and download the lastest package from the FTP server: ftp://ucquakecore1p.canterbury.ac.nz/seisfinder/gmsim_pack_latest.tar.gz

    Code Block
    languagebash
    titleBash_code
    $ wget ftp://ucquakecore1p.canterbury.ac.nz/seisfinder/gmsim_pack_latest.tar.gz
  3. Use install.sh to install the package just downloaded in the following format:

     ./install.sh gmsim_pack_latest.tar.gz [event_date] [event_location] [event_magnitude]

     

    Code Block
    languagebash
    titleBash_code
     ./install.sh gmsim_pack_latest.tar.gz 20100904 Darfield 7.1
  4. This starts the installation process.

     

    Code Block
    =========================================================================

    
    Event Name: 20100904_Darfield_m7p1

    
    Run Name: 20100904_Darfield_m7p1_201705191345

    
    Package to be installed: /home/seb56/gm_sim_pkg/gmsim_pack_20170517_1425.tar.gz

    
    Run directory: /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345

    
    =========================================================================

    
    Do you wish to proceed? (Y/N) y

    
    =========================================================================

    
    Creating directory structure

    
    =========================================================================

    
    /home/seb56/tmp already exists.

    
    /nesi/projects/nesi00213/RealTime/code already exists.

    
    =========================================================================

    
    Extracting the package

    
    =========================================================================

    
    ./

    
    ./code/

    
    ./code/wrapper/

    
    ./code/wrapper/setup_remote.sh

    
    ./code/wrapper/make_vm.sh

    
    ./code/wrapper/make_stat.sh
    ...

    
    ./GM/Sim/

    
    ./GM/Sim/Data/

    
    ./GM/Sim/Figures/

    
    ./Stat/

    
    =========================================================================

    
    Updating the data

    
    =========================================================================

    From https
    
    From https://github.com/ucgmsim/vm_data

    
    * branch master -> FETCH_HEAD

    
    Already up-to-date.

    
    =========================================================================

    
    Final touch

    
    =========================================================================

    
    >>> Moving to /nesi/projects/nesi00213/RealTime/code from /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/code

    
    >>> Updating vs30-mapping data

    
    location: /nesi/projects/nesi00213/RealTime/code/Vs30-mapping

    
    collecting md5sum for file check

    
    Existing KRIGE_NZGD00_allNZ.Rdata is already good: No need to update

    
    >>> Making a symbolic link to /home/seb56/tmp/vm_data/Data

    
    >>> Writing gmsim.cfg

    
    =========================================================================

    
    Done!!!!

    =========================================================================
     
  5. Follow the instruction shown on screen to create required Models and files.

    Code Block
    Instructions:
    Everyone: !!!!!!!!!!!!!! source /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/path.sh !!!!!!!!!!!!!!
    VM: 1. cd /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/VM
    2. config_vm.py mag centroidDepth lon lat
    3. test_vm_params.py (if params_vel.py edited)
    4. make_vm.sh
    Source: 1. cd /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/Src
    2. config_src.py
    3. make_src.sh
    Obs: 1. cd /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/GM/Obs
    2. config_obs.py geoNet_ftp_url
    3. make_obs.sh

...

Page properties
hiddentrue
Related issues 

 

=========================================================================
Event Name: 20100904_Darfield_m7p1
Run Name: 20100904_Darfield_m7p1_201705191345
Package to be installed: /home/seb56/gm_sim_pkg/gmsim_pack_20170517_1425.tar.gz
Run directory: /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345
=========================================================================
Do you wish to proceed? (Y/N) y
=========================================================================
Creating directory structure
=========================================================================
/home/seb56/tmp already exists.
/nesi/projects/nesi00213/RealTime/code already exists.
=========================================================================
Extracting the package
=========================================================================
./
./code/
./code/wrapper/
./code/wrapper/setup_remote.sh
./code/wrapper/make_vm.sh
./code/wrapper/make_stat.sh

...
./GM/Sim/
./GM/Sim/Data/
./GM/Sim/Figures/
./Stat/
=========================================================================
Updating the data
=========================================================================
From https://github.com/ucgmsim/vm_data
* branch master -> FETCH_HEAD
Already up-to-date.
=========================================================================
Final touch
=========================================================================
>>> Moving to /nesi/projects/nesi00213/RealTime/code from /nesi/projects/nesi00213/RealTime/20100904_Darfield_m7p1_201705191345/code
>>> Updating vs30-mapping data
location: /nesi/projects/nesi00213/RealTime/code/Vs30-mapping
collecting md5sum for file check
Existing KRIGE_NZGD00_allNZ.Rdata is already good: No need to update
>>> Making a symbolic link to /home/seb56/tmp/vm_data/Data
>>> Writing gmsim.cfg
=========================================================================
Done!!!!
=========================================================================