Quake duration using Python (Bayu imbang)
$ ssh -X sugeng@192.168.15.102
password:123456
[sugeng@seiscomp ~]$ cd QUAKEDURATION/
[sugeng@seiscomp QUAKEDURATION]$ ls
common.py data.inp duration.pyc ttimes.lst
common.pyc duration.py runduration.pyc
[sugeng@seiscomp QUAKEDURATION]$ python2.7
Python 2.7 (r27:82500, May 20 2013, 20:31:27)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import duration as dr
>>> hd = dr.Duration()
>>> hd.setDirSAC('/home/sugeng/TITIPANSUGENG/1_bku2000/data')
>>> hd.loadSAC()
OK
>>> hd.setDirSAC('/home/sugeng/TITIP/1_bku2000/data')
>>> hd.loadSAC()
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OK
>>> hd.stage1()
>>> hd.plot('all')
SEISMIC ANALYSIS CODE [01/04/2013 (Version 101.4)]
Copyright 1995 Regents of the University of California
=====================================================
SUCCESSS !!!!
password:123456
[sugeng@seiscomp ~]$ cd QUAKEDURATION/
[sugeng@seiscomp QUAKEDURATION]$ ls
common.py data.inp duration.pyc ttimes.lst
common.pyc duration.py runduration.pyc
[sugeng@seiscomp QUAKEDURATION]$ python2.7
Python 2.7 (r27:82500, May 20 2013, 20:31:27)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import duration as dr
>>> hd = dr.Duration()
>>> hd.setDirSAC('/home/sugeng/TITIPANSUGENG/1_bku2000/data')
>>> hd.loadSAC()
OK
>>> hd.setDirSAC('/home/sugeng/TITIP/1_bku2000/data')
>>> hd.loadSAC()
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OK
>>> hd.stage1()
>>> hd.plot('all')
SEISMIC ANALYSIS CODE [01/04/2013 (Version 101.4)]
Copyright 1995 Regents of the University of California
=====================================================
SUCCESSS !!!!
Komentar
Posting Komentar