Changeset 1075


Ignore:
Timestamp:
01/03/16 14:26:16 (4 years ago)
Author:
klaus
Message:

added command events to read events from FDSN ws; renamed trcmeta to meta

Location:
SHX/trunk/SeismicHandler/commands
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/commands/fdsnws.py

    r1074 r1075  
    1515from obspy.sh.core import toUTCDateTime, UTCDateTime 
    1616from obspy.fdsn.client import Client 
    17 from obspy.fdsn.header import URL_MAPPINGS 
    1817 
    1918provides = {"fdsnws": "fdsnws"} 
     
    7069     
    7170        if self.qualifiers["ADR"]: 
    72             if self.qualifiers["ADR"] in URL_MAPPINGS: 
    73                 fdsnadr = URL_MAPPINGS[self.qualifiers["ADR"]] 
    74             else: 
    75                 fdsnadr = self.qualifiers["ADR"] 
     71            fdsnadr = self.qualifiers["ADR"] 
    7672        else: 
    7773            fdsnadr = "BGR" 
  • SHX/trunk/SeismicHandler/commands/meta.py

    r1074 r1075  
    1616from obspy.sh.core import toUTCDateTime, UTCDateTime 
    1717 
    18 provides = {"trcmeta": "trcmeta"} 
    19 class trcmeta(BaseCommand): 
     18provides = {"meta": "meta"} 
     19class meta(BaseCommand): 
    2020    """ 
    2121    URI:http://www.seismic-handler.org/portal/wiki/ShDisplay 
Note: See TracChangeset for help on using the changeset viewer.