Changeset 1102


Ignore:
Timestamp:
12.01.2016 23:00:33 (4 years ago)
Author:
klaus
Message:

updated examples

Location:
SHX/trunk/SeismicHandler/cmdscripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/cmdscripts/EXAMPLE01.SHC

    r1089 r1102  
    44fetch gr.tns.,gr.kast.,gr.mox. hh zne 17-May-2014_16:46:31 85 
    55 
    6 ! plot traces with a color list of length 3 
     6! Same data retrieved via fdsnws would read 
     7! fdsnws gr tns,kast,mox * hh? 17-May-2014_16:46:31 85 
     8 
     9! Plot traces with a color list of length 3 to png file. 
    710mplplot example01.png sw blue,2*lightblue darmstadt_17-may-2014_16:46:31 
    811 
     12! Plot same data into svg vector graphics file. Specify colors as hexcode. 
     13mplplot example01.svg sw 3*#ff00ff,3*#00ffff darmstadt_17-may-2014_16:46:31 
     14 
     15 
    916return 
  • SHX/trunk/SeismicHandler/cmdscripts/EXAMPLE04.SHC

    r1084 r1102  
    11! Retrieve data and metadata from an FDSN webserver, sort and plot 
    22 
    3 ! read all station of BGR server of network GR 
    4 fdsnws gr * * bhz 26-Nov-2015_05:56:23 420 /addr=bgr 
     3! read all stations of BGR server of network GR ... 
     4fdsnws/addr=bgr gr * * bhz 26-Nov-2015_05:55 420 
     5! ... and get GE data from GFZ. 
     6fdsnws/addr=gfz ge * * bhz 26-Nov-2015_05:55 420 
    57 
    68! Remove mean value from all traces. 
     
    1113meta all complete_response /del_incomplete /addr=bgr 
    1214 
     15! Do the same for GFZ data (GE network). 
     16meta /addr=gfz /del_incomplete all complete_response 
     17 
     18! Could add data of any other FDSN server 
     19 
    1320! Sort all traces according to the epicentral distance 
    1421! to location (-9.182,-71.257). 
     
    1825norm sw 
    1926 
    20 mplplot example04.png sw ;; data_from_fdsn_server 
     27! apply WWSSN-SP filter 
     28simulate all wwssn-sp 
     29del 1-114 
     30 
     31! increase amplitudes and plot to file 
     32zoom all 1.5 
     33mplplot example04.png sw ;; data_from_fdsn_servers /tracelabelsize=5 
    2134 
    2235return 
  • SHX/trunk/SeismicHandler/cmdscripts/EXAMPLE07.SHC

    r1087 r1102  
    11! Read foreign data formats. 
    22! All formats supported which are handled by obspy.core.read 
     3! See: https://docs.obspy.org/packages/autogen/obspy.core.stream.read.html 
    34 
    45! Download and read a SEISAN-File 
    56! from "http://examples.obspy.org/2001-01-13-1742-24S.KONO__004". 
    6 @READO |http:|$SLASH|$SLASH|examples.obspy.org|$SLASH|2001-01-13-1742-24S.KONO__004| 2-4 
     7 
     8! switch off automatic conversion to uppercase (not really needed here) 
     9switch capcnv off 
     10 
     11! Use backslashes instead of slashes (slashes reserved for qualifiers) 
     12! Read traces 2-4 (trace 1 short). 
     13reado http:\\examples.obspy.org\2001-01-13-1742-24S.KONO__004 2-4 
    714 
    815! Plot result. 
  • SHX/trunk/SeismicHandler/cmdscripts/EXAMPLE10.SHC

    r1100 r1102  
     1! Read stations from within a circular area around point (51.0,10.0) with 
     2! maximum distance of 2.0 degrees. 
     3 
    14fdsnws 51,10,3. * * bhz 7-aug-15_00:18:10 150 
    25meta all complete_response 
    36sort_by_distance -26.48 -178.3 
     7 
     8! phases converted from evt file 
     9@PHASE DEFINE  AHRW 7-AUG-2015_00:19:05.516  PKPdf manual Z 
     10@PHASE DEFINE  AHRW 7-AUG-2015_00:19:15.832  PKPbc manual Z 
     11@PHASE DEFINE  AHRW 7-AUG-2015_00:19:33.834  PKPab manual Z 
     12@PHASE DEFINE  ASSE 7-AUG-2015_00:19:02.796  PKPdf manual Z 
     13@PHASE DEFINE  ASSE 7-AUG-2015_00:19:11.419  PKPbc manual Z 
     14@PHASE DEFINE  ASSE 7-AUG-2015_00:19:24.474  PKPab manual Z 
     15@PHASE DEFINE   BFO 7-AUG-2015_00:19:07.770  PKPdf manual Z 
     16@PHASE DEFINE   BFO 7-AUG-2015_00:19:19.850  PKPbc manual Z 
     17@PHASE DEFINE   BFO 7-AUG-2015_00:19:42.165  PKPab manual Z 
     18@PHASE DEFINE   BRG 7-AUG-2015_00:19:03.467  PKPdf manual Z 
     19@PHASE DEFINE   BRG 7-AUG-2015_00:19:12.276  PKPbc manual Z 
     20@PHASE DEFINE   BRG 7-AUG-2015_00:19:26.759  PKPab manual Z 
     21@PHASE DEFINE  BSEG 7-AUG-2015_00:19:00.713  PKPdf manual Z 
     22@PHASE DEFINE  BSEG 7-AUG-2015_00:19:07.533  PKPbc manual Z 
     23@PHASE DEFINE  BSEG 7-AUG-2015_00:19:17.847  PKPab manual Z 
     24@PHASE DEFINE   BUG 7-AUG-2015_00:19:04.446  PKPdf manual Z 
     25@PHASE DEFINE   BUG 7-AUG-2015_00:19:13.791  PKPbc manual Z 
     26@PHASE DEFINE   BUG 7-AUG-2015_00:19:29.244  PKPab manual Z 
     27@PHASE DEFINE   CLL 7-AUG-2015_00:19:02.871  PKPdf manual Z 
     28@PHASE DEFINE   CLL 7-AUG-2015_00:19:11.749  PKPbc manual Z 
     29@PHASE DEFINE   CLL 7-AUG-2015_00:19:25.721  PKPab manual Z 
     30@PHASE DEFINE   CLL 7-AUG-2015_00:20:20.201 pPKPbc manual Z 
     31@PHASE DEFINE   CLZ 7-AUG-2015_00:19:03.269  PKPdf manual Z 
     32@PHASE DEFINE   CLZ 7-AUG-2015_00:19:12.210  PKPbc manual Z 
     33@PHASE DEFINE   CLZ 7-AUG-2015_00:19:26.553  PKPab manual Z 
     34@PHASE DEFINE  FLT1 7-AUG-2015_00:19:02.196  PKPdf manual Z 
     35@PHASE DEFINE  FLT1 7-AUG-2015_00:19:10.365  PKPbc manual Z 
     36@PHASE DEFINE  FLT1 7-AUG-2015_00:19:23.178  PKPab manual Z 
     37@PHASE DEFINE   FUR 7-AUG-2015_00:19:07.072  PKPdf manual Z 
     38@PHASE DEFINE   FUR 7-AUG-2015_00:19:18.862  PKPbc manual Z 
     39@PHASE DEFINE   FUR 7-AUG-2015_00:19:40.751  PKPab manual Z 
     40@PHASE DEFINE  GEC2 7-AUG-2015_00:19:05.814  PKPdf manual Z 
     41@PHASE DEFINE  GEC2 7-AUG-2015_00:19:16.162  PKPbc manual Z 
     42@PHASE DEFINE  GEC2 7-AUG-2015_00:19:35.053  PKPab manual Z 
     43@PHASE DEFINE  GEC2 7-AUG-2015_00:20:18.535 pPKPbc manual Z 
     44@PHASE DEFINE  GEC2 7-AUG-2015_00:23:02.345     PP manual Z 
     45@PHASE DEFINE  GRA1 7-AUG-2015_00:19:16.096  PKPbc manual Z 
     46@PHASE DEFINE  GRA1 7-AUG-2015_00:19:34.568  PKPab manual Z 
     47@PHASE DEFINE  GTTG 7-AUG-2015_00:19:03.853  PKPdf manual Z 
     48@PHASE DEFINE  GTTG 7-AUG-2015_00:19:12.868  PKPbc manual Z 
     49@PHASE DEFINE  GTTG 7-AUG-2015_00:19:27.824  PKPab manual Z 
     50@PHASE DEFINE  GUNZ 7-AUG-2015_00:19:04.629  PKPdf manual Z 
     51@PHASE DEFINE  GUNZ 7-AUG-2015_00:19:14.449  PKPbc manual Z 
     52@PHASE DEFINE  GUNZ 7-AUG-2015_00:19:30.424  PKPab manual Z 
     53@PHASE DEFINE  GUNZ 7-AUG-2015_00:23:04.875     PP manual Z 
     54@PHASE DEFINE   HLG 7-AUG-2015_00:19:08.126  PKPbc manual Z 
     55@PHASE DEFINE   HLG 7-AUG-2015_00:19:18.632  PKPab manual Z 
     56@PHASE DEFINE  IBBN 7-AUG-2015_00:19:12.012  PKPbc manual Z 
     57@PHASE DEFINE  IBBN 7-AUG-2015_00:19:26.171  PKPab manual Z 
     58@PHASE DEFINE  KAST 7-AUG-2015_00:19:04.470  PKPdf manual Z 
     59@PHASE DEFINE  KAST 7-AUG-2015_00:19:14.120  PKPbc manual Z 
     60@PHASE DEFINE  KAST 7-AUG-2015_00:19:29.814  PKPab manual Z 
     61@PHASE DEFINE  LNIZ 7-AUG-2015_00:19:00.039  PKPdf manual Z 
     62@PHASE DEFINE  LNIZ 7-AUG-2015_00:19:06.940  PKPbc manual Z 
     63@PHASE DEFINE  LNIZ 7-AUG-2015_00:19:16.265  PKPab manual Z 
     64@PHASE DEFINE  MANZ 7-AUG-2015_00:19:05.107  PKPdf manual Z 
     65@PHASE DEFINE  MANZ 7-AUG-2015_00:19:14.976  PKPbc manual Z 
     66@PHASE DEFINE  MANZ 7-AUG-2015_00:19:31.690  PKPab manual Z 
     67@PHASE DEFINE  MILB 7-AUG-2015_00:19:05.981  PKPdf manual Z 
     68@PHASE DEFINE  MILB 7-AUG-2015_00:19:16.425  PKPbc manual Z 
     69@PHASE DEFINE  MILB 7-AUG-2015_00:19:35.169  PKPab manual Z 
     70@PHASE DEFINE  MLFH 7-AUG-2015_00:23:02.897     PP manual Z 
     71@PHASE DEFINE  MODW 7-AUG-2015_00:23:01.668     PP manual Z 
     72@PHASE DEFINE   MOX 7-AUG-2015_00:19:04.335  PKPdf manual Z 
     73@PHASE DEFINE   MOX 7-AUG-2015_00:19:13.856  PKPbc manual Z 
     74@PHASE DEFINE   MOX 7-AUG-2015_00:19:30.020  PKPab manual Z 
     75@PHASE DEFINE  MULD 7-AUG-2015_00:23:04.514     PP manual Z 
     76@PHASE DEFINE  NEUB 7-AUG-2015_00:19:03.871  PKPdf manual Z 
     77@PHASE DEFINE  NEUB 7-AUG-2015_00:19:12.737  PKPbc manual Z 
     78@PHASE DEFINE  NEUB 7-AUG-2015_00:19:27.532  PKPab manual Z 
     79@PHASE DEFINE   NKC 7-AUG-2015_00:23:05.330     PP manual Z 
     80@PHASE DEFINE  NRDL 7-AUG-2015_00:19:02.346  PKPdf manual Z 
     81@PHASE DEFINE  NRDL 7-AUG-2015_00:19:10.761  PKPbc manual Z 
     82@PHASE DEFINE  NRDL 7-AUG-2015_00:19:23.632  PKPab manual Z 
     83@PHASE DEFINE   PLN 7-AUG-2015_00:19:04.365  PKPdf manual Z 
     84@PHASE DEFINE   PLN 7-AUG-2015_00:19:13.922  PKPbc manual Z 
     85@PHASE DEFINE   PLN 7-AUG-2015_00:19:30.283  PKPab manual Z 
     86@PHASE DEFINE  POSS 7-AUG-2015_00:23:01.137     PP manual Z 
     87@PHASE DEFINE   RGN 7-AUG-2015_00:19:05.030  PKPbc manual Z 
     88@PHASE DEFINE  RJOB 7-AUG-2015_00:19:07.121  PKPdf manual Z 
     89@PHASE DEFINE  RJOB 7-AUG-2015_00:19:40.689  PKPab manual Z 
     90@PHASE DEFINE  ROHR 7-AUG-2015_00:23:05.476     PP manual Z 
     91@PHASE DEFINE  ROTZ 7-AUG-2015_00:19:05.219  PKPdf manual Z 
     92@PHASE DEFINE  ROTZ 7-AUG-2015_00:19:15.371  PKPbc manual Z 
     93@PHASE DEFINE  ROTZ 7-AUG-2015_00:19:33.335  PKPab manual Z 
     94@PHASE DEFINE   RUE 7-AUG-2015_00:19:01.673  PKPdf manual Z 
     95@PHASE DEFINE   RUE 7-AUG-2015_00:19:09.114  PKPbc manual Z 
     96@PHASE DEFINE   RUE 7-AUG-2015_00:19:20.687  PKPab manual Z 
     97@PHASE DEFINE  SCHF 7-AUG-2015_00:20:16.887 pPKPbc manual Z 
     98@PHASE DEFINE  SKMB 7-AUG-2015_00:19:06.545  PKPbc manual Z 
     99@PHASE DEFINE  SKMB 7-AUG-2015_00:19:15.970  PKPab manual Z 
     100@PHASE DEFINE   STU 7-AUG-2015_00:19:07.608  PKPdf manual Z 
     101@PHASE DEFINE   STU 7-AUG-2015_00:19:18.665  PKPbc manual Z 
     102@PHASE DEFINE   STU 7-AUG-2015_00:19:39.532  PKPab manual Z 
     103@PHASE DEFINE   TNS 7-AUG-2015_00:19:15.964  PKPbc manual Z 
     104@PHASE DEFINE   TNS 7-AUG-2015_00:19:34.239  PKPab manual Z 
     105@PHASE DEFINE  TRIB 7-AUG-2015_00:20:17.120 pPKPbc manual Z 
     106@PHASE DEFINE  TRIB 7-AUG-2015_00:23:05.157     PP manual Z 
     107@PHASE DEFINE  UBBA 7-AUG-2015_00:19:04.461  PKPdf manual Z 
     108@PHASE DEFINE  UBBA 7-AUG-2015_00:19:14.120  PKPbc manual Z 
     109@PHASE DEFINE  UBBA 7-AUG-2015_00:19:30.332  PKPab manual Z 
     110@PHASE DEFINE   UBR 7-AUG-2015_00:19:08.025  PKPdf manual Z 
     111@PHASE DEFINE   UBR 7-AUG-2015_00:19:20.048  PKPbc manual Z 
     112@PHASE DEFINE   UBR 7-AUG-2015_00:19:43.385  PKPab manual Z 
     113@PHASE DEFINE  VITZ 7-AUG-2015_00:23:04.405     PP manual Z 
     114@PHASE DEFINE  WERD 7-AUG-2015_00:19:13.922  PKPbc manual Z 
     115@PHASE DEFINE  WERD 7-AUG-2015_00:19:30.239  PKPab manual Z 
     116@PHASE DEFINE  WERD 7-AUG-2015_00:23:04.461     PP manual Z 
     117@PHASE DEFINE  WERN 7-AUG-2015_00:19:04.762  PKPdf manual Z 
     118@PHASE DEFINE  WERN 7-AUG-2015_00:19:14.581  PKPbc manual Z 
     119@PHASE DEFINE  WERN 7-AUG-2015_00:19:31.162  PKPab manual Z 
     120@PHASE DEFINE  WERN 7-AUG-2015_00:23:05.452     PP manual Z 
     121@PHASE DEFINE   WET 7-AUG-2015_00:19:05.601  PKPdf manual Z 
     122@PHASE DEFINE   WET 7-AUG-2015_00:19:16.162  PKPbc manual Z 
     123@PHASE DEFINE   WET 7-AUG-2015_00:19:34.858  PKPab manual Z 
     124@PHASE DEFINE   WET 7-AUG-2015_00:23:10.721     PP manual Z 
     125@PHASE DEFINE   WLF 7-AUG-2015_00:19:07.352  PKPdf manual Z 
     126@PHASE DEFINE   WLF 7-AUG-2015_00:19:18.269  PKPbc manual Z 
     127@PHASE DEFINE   WLF 7-AUG-2015_00:19:38.427  PKPab manual Z 
     128 
     129 
    4130return 
Note: See TracChangeset for help on using the changeset viewer.