On 2019-04-16 13:10, Thomas Lecocq wrote:
Dear Navid
you need to pass the sta1 and sta2 names in the NET.STA NET.STA format.
Thomas
On 15/04/2019 20:23, navid.sirous wrote:
Dear Msnoise group,
I can run some of plot commands successfully, such as plotting of dvv,
but whenever plot "interferogram" and " ccftime" between my stations
my
plots are empty something like attachments. Whenever I use the command
msnoise plot mwcs DHR LIN -m1, I find an error of below.
Traceback (most recent call last):
File "/usr/local/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.5.1', 'console_scripts',
'msnoise')()
File
"/usr/local/lib/python3.5/dist-packages/msnoise/scripts/msnoise.py",
line 717, in run
cli(obj={})
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 764,
in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 717,
in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line
1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line
1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 956,
in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 555,
in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/decorators.py",
line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File
"/usr/local/lib/python3.5/dist-packages/msnoise/scripts/msnoise.py",
line 597, in mwcs
main(sta1, sta2, filterid, comp, mov_stack, show, outfile)
File "/usr/local/lib/python3.5/dist-packages/msnoise/plots/mwcs.py",
line 58, in main
station1 = get_station(db, station1[0], station1[1])
IndexError: list index out of range
I will grateful if you help me
regards,
Navid Sirous
University of Tehran
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
--
Dr. Thomas Lecocq
Geologist - Seismologist
Seismology - Gravimetry
Royal Observatory of Belgium
*
* * * * *
* * * *
---------
http://www.seismology.be
http://msnoise.org
http://twitter.com/#!/Seismologie_be
https://www.facebook.com/seismologie.be
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
Thank you.It runs correctly.
From vanessa.gaelle3(a)gmail.com Thu Apr 25 09:51:14
2019
Return-Path: <vanessa.gaelle3(a)gmail.com>
X-Original-To: msnoise(a)mailman-as.oma.be
Delivered-To: msnoise(a)mailman-as.oma.be
Received: from
mail-oi1-f179.google.com (
mail-oi1-f179.google.com
[209.85.167.179])
by mailman-as.oma.be (Postfix) with ESMTP id 64E0D20644
for <msnoise(a)mailman-as.oma.be>be>; Thu, 25 Apr 2019 09:51:14 +0000 (UTC)
Received: by
mail-oi1-f179.google.com with SMTP id t81so16639585oig.10
for <msnoise(a)mailman-as.oma.be>be>; Thu, 25 Apr 2019 02:51:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=vqhOKK263QOKzepw404g3LQfHFTvcr7z20or98y4UMc=;
b=kjob461T/AuKO7svF1T4rGLWxZWo5TR0tpOjHTYL7bb0KHJnH8P07fCPfPB+jmdeT2
lZ/2u6dXX6U5K2i6r5iKYz6jQjf1PxoK6KgXJl/AHovKRQeywgt0nKcB3zEeq3gKjf1h
B1ZjKJ1ey5kl9IUOZz7HYRin/aFuXbMsT8fQsNtVL1PIb02kJdP1VCxKfhivACRUgk1b
p67AIui9AMdvTnWPiRQ1sUy/lvgddRihFNaRsWQQ/7jvlz3fHV+d+TIJCw2uIOzJwlpR
Lcly/sJSa6tGeWfp/50v2N/uSN5wMZzYQO7DZ9VhR0mvUHOPavMEybDHCoTD7Y22Nlgw
Hjng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=vqhOKK263QOKzepw404g3LQfHFTvcr7z20or98y4UMc=;
b=sj4Dlw9d4M+SBE9bIKjap41HUGTcz0K82oQrP4JkV70SV0OavQprVozyP0fyWeeSIm
NC7GAYGNaraZC3TSyoAwkZjd7xCqvCwm+rHA3DqhVHfKIV5J1EP0Go5nDaWq8xDdWMt9
TU8k497gMSYsrF7/hOaE7K65YgqNz/3n4Hjpdq92lDTK1h7pNcOItv8/sWW6gXJGrvul
dA4VnRQtzksq3VBDbhciL+fm25JTbjeqMIUUHltN5sS2wgI+du7yuk9wyW+BZ8VzASPS
K3Dwx+I4LGjfhzR6TLRcziI+l1IzXZp7LH33znz+hQotDzN+Jirjqpeb7UY3KeI67pLM
Jbpg==
X-Gm-Message-State: APjAAAUom8ZN7Ti3to1jmGjy6mOTPXjkyqkACF5kivkV9yWjM4h312hB
30fGxqh/h5p7S0bdNJukofo2hXhTPnPqq3UMa5nXygnT
X-Google-Smtp-Source:
APXvYqz5aAW7sK2ck+FDBpqZj74L4W61SJ7LrHne1GakNhE/faQJqVO4v1iUlIAyhzrbuJ9HvbtpYzNPlcr/UD4B6ak=
X-Received: by 2002:aca:6288:: with SMTP id w130mr2464438oib.116.1556185873159;
Thu, 25 Apr 2019 02:51:13 -0700 (PDT)
MIME-Version: 1.0
From: gaelle vanessa Nana <vanessa.gaelle3(a)gmail.com>
Date: Thu, 25 Apr 2019 10:51:02 +0100
Message-ID: <CAMKH5-m3EsnnBWF9d9Dpzkm6=qANybDtvCAfY2F=bM1cM2cMJA(a)mail.gmail.com>
To: Python Package for Monitoring Seismic Velocity Changes using Ambient
Seismic Noise <msnoise(a)mailman-as.oma.be>
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.12
Subject: [MSNoise] Download data
X-BeenThere: msnoise(a)mailman-as.oma.be
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Python Package for Monitoring Seismic Velocity Changes using Ambient
Seismic Noise <msnoise.mailman-as.oma.be>
List-Unsubscribe: <http://mailman-as.oma.be/mailman/options/msnoise>,
<mailto:msnoise-request@mailman-as.oma.be?subject=unsubscribe>
List-Archive: <http://mailman-as.oma.be/pipermail/msnoise/>
List-Post: <mailto:msnoise@mailman-as.oma.be>
List-Help: <mailto:msnoise-request@mailman-as.oma.be?subject=help>
List-Subscribe: <http://mailman-as.oma.be/mailman/listinfo/msnoise>,
<mailto:msnoise-request@mailman-as.oma.be?subject=subscribe>
X-List-Received-Date: Thu, 25 Apr 2019 09:51:14 -0000
hello,
I use this python code to download data, but unfortunatelly, i cannot
download. I need your help.
import obspy
from obspy.clients.fdsn.mass_downloader import RectangularDomain, \
Restrictions, MassDownloader
# Rectangular domain containing parts of southern Germany.
domain = RectangularDomain(minlatitude=2, maxlatitude=12,
minlongitude=6, maxlongitude=16)
restrictions = Restrictions(
# Get data for a whole year.
starttime=obspy.UTCDateTime(2006, 1, 1),
endtime=obspy.UTCDateTime(2007, 1, 1),
# Chunk it to have one file per day.
chunklength_in_sec=86400,
# Considering the enormous amount of data associated with continuous
# requests, you might want to limit the data based on SEED identifiers.
# If the location code is specified, the location priority list is not
# used; the same is true for the channel argument and priority list.
network="XB", station="CM*", location="",
channel="BH*",
# The typical use case for such a data set are noise correlations where
# gaps are dealt with at a later stage.
reject_channels_with_gaps=False,
# Same is true with the minimum length. All data might be useful.
minimum_length=0.0,
# Guard against the same station having different names.
minimum_interstation_distance_in_m=100.0)
# Restrict the number of providers if you know which serve the desired
# data. If in doubt just don't specify - then all providers will be
# queried.
mdl = MassDownloader(providers=["IRIS" ])
mdl.download(domain, restrictions, mseed_storage="waveforms",
stationxml_storage="stations")