obspy.neries.client.Client¶
- class Client(user=u'', password=u'', timeout=10, debug=False, user_agent=u'ObsPy 0.10.1 (Linux-2.6.32-042stab092.3-i686-with-Ubuntu-12.04-precise, Python 2.7.3)')[source]¶
Bases: future.types.newobject.newobject
NERIES Web service request client.
Attributes
__dict__ __doc__ unicode(string [, encoding[, errors]]) -> object __module__ str(object) -> string __weakref__ list of weak references to the object (if defined) Public Methods
getEventDetail SHUT DOWN ON SERVER SIDE! getEvents SHUT DOWN ON SERVER SIDE! getInventory Returns information about the available networks and stations in that particular space/time region. getLatestEvents SHUT DOWN ON SERVER SIDE! getTravelTimes Returns travel times for specified station-event geometry using standard velocity models such as iasp91, ak135 or qdt. getWaveform Retrieves waveform data from the NERIES Web service and returns a ObsPy next saveWaveform Writes a retrieved waveform directly into a file. Private Methods
_fetch Send a HTTP request via urllib2. _json2list Converts a JSON formatted string into a event/origin list. Special Methods
__init__ Initializes the NERIES Web service client. __long__ __native__ Hook for the future.utils.native() function __nonzero__ __unicode__