Changes between Version 4 and Version 5 of ShTools/ScpToEvt


Ignore:
Timestamp:
06/25/2008 02:48:22 PM (14 years ago)
Author:
MarcusWalther
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShTools/ScpToEvt

    v4 v5  
    2121`./scxml2evt.py dump.xml event.evt` 
    2222 
    23 If you ommit the output file, results will be written to stdout. Any existing output file will be overwritten! 
     23If you omit the output file, results will be written to stdout. Any existing output file will be overwritten! 
    2424 
    2525== Read EVT file == 
     
    2929=== download & installation === 
    3030 
    31 ScXML2Evt is available via SVN repository: https://www.seismic-handler.org/svn/Tools/ScXML2evt/. No installation is neccessary, if system requirements are met. 
     31ScXML2Evt is available via SVN repository: https://www.seismic-handler.org/svn/Tools/ScXML2evt/. 
     32 
     33''Important:'' You have to edit a small part of the ScXML2evt script! Since Seismic Handler cannot dynamically fetch information of unknown stations, the script comes with a filter to prevent errors while using the evt file. 
     34 
     35Please look for the "stations" variable close to the beginning of scxml2evt.py:  
     36 
     37{{{ 
     38# list of stations to be put in evt file 
     39# note: stations = [] will allow all 
     40stations = [ 
     41    "WET", "TNS", 
     42] 
     43}}} 
     44 
     45In this example the stations WET and TNS will be present in the resulting evt file, all other stations will be silently rejected. If you don't need to use this filter, simply change to: 
     46 
     47{{{ 
     48stations = [] 
     49}}} 
    3250 
    3351=== system requirements === 
     
    3856 * lxml library version 2.1.beta2 
    3957 
    40 Since the script isn't complex, it should run anywhere python's `lxml` module can be accessed. 
     58Since the script isn't complex, it should work anywhere python's `lxml` module runs.