@uky-jps you are missing the required wildcard character. -
HH is not a valid channel code, but
HH? will find the valid codes (
HHZ in this case).
from obspy import UTCDateTime from obspy.clients.fdsn import Client client = Client("IRIS") t1, t2 = UTCDateTime(2019, 1, 1), UTCDateTime(2019, 1, 1) + 600 st = client.get_waveforms("IU", "CCM", "00,10", "HH?,BHZ", t1, t2)
and I get 5 traces including
I downloaded one year of data with massdownloader. However, at the first time of the downloading, I writed wrong the name of the files.Due to I already had half downloaded. Therefore, I developed a script to change the name of these files automatically.
After that, I wanted to rerunning the download with massdownloader, so, I corrected the filenames in mseed_storage parameter of massdownloader. However, when I ran the downloading with massdownloader again, then it repeats the file with the same name. I hoped that it didn't repeat the downloads
Do you know what happen here?
I rotated the IRIS data component to R and T components , for the surface tomography, using both Obspy and SAC , but the output seems to be different . Is there anyway to find which one is wrong? or anyone I can consult here?
without a screenshot, an example etc... difficult to say. did you apply the same filters (if any), etc ?
MassDownloaderindexes the "already downloaded data", @krischer ?
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-4718903f829c> in <module>
1 import obspy
----> 2 from obspy.imaging.radpattern import plot_3drpattern
3 mt = [0.91, -0.89, -0.02, 1.78, -1.55, 0.47]
ModuleNotFoundError: No module named 'obspy.imaging.radpattern'
For your second question,
CMTSOLUTION is a standard format that looks like this.
Event.plot() with defaults to
kind=('beachball', 'p_sphere', 's_sphere') calls the
obspy.imaging.source.plot_radiation_pattern under the hood, which if you have the moment-tensor and no
Event might be simpler to call.
I tried to install obspy with miniconda in google collab. Apparently, it was installed ok. However, when I wanted to use ' obspy.read() ' appears this error: 'TypeError: Unknown format for file /usr/local/lib/python3.6/site-packages/obspy/core/data/BW_RJOB.xml'
can you help me please? Maybe obspy can't be installed with conda in google collab? When I installed with pip, it does his job ok. But for certain reasons I need to install it with conda.
In the next link, you can see the collab notebook that I'm using: