Changes between Version 1 and Version 2 of HowTo/Arclink2Sh


Ignore:
Timestamp:
12.09.2012 17:10:10 (7 years ago)
Author:
MarcusWalther
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/Arclink2Sh

    v1 v2  
    11= Using arclink data for SH's inventory = 
    22 
     3Using the script {{{fetch_build_inventory.py}}} ([export:/SH_SHM/trunk/util/inventory/fetch_build_inventory.py download]) you can transfer the meta data information from arclink into the Seismic Handler's inventory. This script is located in recent installation in the directory ''$SH_UTIL/inventory''. 
     4 
     5== Prerequisites == 
     6 
     7The script uses [http://obspy.org ObsPy]. Please make sure that you have ''obspy.core'' and ''obspy.arclink'' installed. 
     8 
     9== Usage == 
     10 
     11Information is saved into ''STATINF.DAT'', ''sensitivities.txt'' and ''filter_lookup.txt'' in ''/tmp/''. You should check these files before you '''append''' the content to your regular input data in ''$SH_INPUTS''. Then copy the transfer function files into ''$SH_FILTERS'' and start the creation of the simulation filters (see also [HowTo/SimulationFilters#simulationfilters simulation filters how-to]). 
     12 
     13Here's an example for GR.GRA1: 
     14 
     15{{{ 
     16$ python fetch_build_inventory.py 
     17 
     18======================================================================== 
     19 Arclink Seismic Handler inventory tool 
     20========================================================================  
     21 
     22Your e-mail address for arclink query: walther@szgrf.bgr.de 
     23 
     24Please enter the network and station code. It may contain wildcards, 
     25e.g. 'EI.* for the whole irish network or 'GR.GRA1' for Graefenberg A1. 
     26Enter code: GR.GRA1 
     27Fetched data for 1 stations. 
     28Fetched data for 9 channels. 
     29 
     30Saving station information to /tmp/STATINF.DAT... 
     31 GR.GRA1 
     32Saving sensitivity information to /tmp/sensitivities.txt... 
     33 GR.GRA1..HHN 
     34 GR.GRA1..LHN 
     35 GR.GRA1..HHE 
     36 GR.GRA1..BHZ 
     37 GR.GRA1..LHE 
     38 GR.GRA1..LHZ 
     39 GR.GRA1..BHE 
     40 GR.GRA1..HHZ 
     41 GR.GRA1..BHN 
     42Saving filter information to /tmp/filter_lookup.txt... 
     43 GR.GRA1..HHN 
     44 GR.GRA1..LHN 
     45 GR.GRA1..HHE 
     46 GR.GRA1..BHZ 
     47 GR.GRA1..LHE 
     48 GR.GRA1..LHZ 
     49 GR.GRA1..BHE 
     50 GR.GRA1..HHZ 
     51 GR.GRA1..BHN 
     52 
     53Now check the files in /tmp/. Afterwards append the information to 
     54the corresponding files in $SH_INPUTS. Alternatively configure 
     55additional input locations. Copy the transfer function files to 
     56$SH_FILTER. 
     57 
     58In order to create simulation filters (e.g. WWSSN-SP), run the 
     59following commands: 
     60 
     61 $SH_UTIL/prep_simfilters.csh 3D842A 
     62 $SH_UTIL/prep_simfilters.csh E6D9F0 
     63 $SH_UTIL/prep_simfilters.csh 3C01AF 
     64 
     65}}} 
     66 
     67You can also pass your email address and station code on command-line: 
     68 
     69{{{ 
     70$ python fetch_build_inventory.py walther@szgrf.bgr.de gr.wet 
     71}}} 
     72 
     73You can fetch information for a whole network using wildcards like '' 'EI.*' '' (irish network). 
     74 
     75== Notes == 
     76 
     77 1. The script tries to create a minimum number of transfer functions. 
     78 1. The names of the transfer functions are random generated but not necessarily unique. If you use this script several times, please check for conflicts before copying into ''$SH_FILTERS'' 
     79 1. The script doesn't make use of wildcard options available in ''sensitivities.txt'' and ''filter_lookup.txt'' (e.g. GRA1-BH-?). So every channel is represented by one configuration line. 
     80 1. Please enter a valid email address for arclink access to allow the data centers to monitor and improve their service.