[minor] small docstring changes
This commit is contained in:
parent
deaa67bb30
commit
887eeba6ec
@ -155,7 +155,7 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
|||||||
:type metadata: tuple (str, ~obspy.io.xseed.parser.Parser)
|
:type metadata: tuple (str, ~obspy.io.xseed.parser.Parser)
|
||||||
:param origin: list containing origin objects representing origins for all events
|
:param origin: list containing origin objects representing origins for all events
|
||||||
:type origin: list(~obspy.core.event.origin)
|
:type origin: list(~obspy.core.event.origin)
|
||||||
:return: :dictionary containing P pick, S pick and station name
|
:return: dictionary containing P pick, S pick and station name
|
||||||
:rtype: dict
|
:rtype: dict
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -8,6 +8,13 @@ except:
|
|||||||
|
|
||||||
|
|
||||||
def checkurl(url='https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/'):
|
def checkurl(url='https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/'):
|
||||||
|
"""
|
||||||
|
check if URL is available
|
||||||
|
:param url: url
|
||||||
|
:type url: str
|
||||||
|
:return: available: True/False
|
||||||
|
:rtype: bool
|
||||||
|
"""
|
||||||
try:
|
try:
|
||||||
urlopen(url, timeout=1)
|
urlopen(url, timeout=1)
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user