Changeset 362


Ignore:
Timestamp:
06.04.2011 09:31:39 (8 years ago)
Author:
marcus
Message:

r196 | klaus | 2011-04-04 12:22:37 +0200 (Mo, 04 Apr 2011) | 1 line

shm_exec_hypocenter: check for velocity model in private directory; set vp/vs ratio to 2.0 (!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/util/shm_exec_hypocenter

    r350 r362  
    4949set modelname="" 
    5050if  (-e table_prefix.txt)  set modelname=`cat table_prefix.txt` 
    51 if  (-e $SH_INPUTS/hypocenter_velmod_$modelname.dat)  then 
     51if (-e $SH_USERDIR/hypocenter_velmod_$modelname.dat) then 
     52        set velmod=$SH_USERDIR/hypocenter_velmod_$modelname.dat 
     53else if  (-e $SH_INPUTS/hypocenter_velmod_$modelname.dat)  then 
    5254        set velmod=$SH_INPUTS/hypocenter_velmod_$modelname.dat 
    5355else 
     
    5961if  (-e $hyphead)  \rm $hyphead 
    6062touch $hyphead 
    61 echo "RESET TEST(13)=2.0"            >>$hyphead 
     63#echo "RESET TEST(13)=2.0"            >>$hyphead 
     64echo "RESET TEST(13)=0.5"            >>$hyphead 
     65#echo "RESET TEST(40)=1.0"            >>$hyphead 
    6266echo ""                              >>$hyphead 
    6367set slist=`grep 'Station code' $evtfile | awk '{print $4}' | sort -u` 
     
    6872cat $velmod                          >>$hyphead 
    6973echo ""                              >>$hyphead 
    70 echo " 5.0 1100.2200. 1.74"          >>$hyphead 
     74echo " 4.0 1100.2200. 2.00"          >>$hyphead 
    7175 
    7276# check for IASP91 model 
Note: See TracChangeset for help on using the changeset viewer.