Hi,
When I went to Configurator in MSNoise, and type the value for each
field, some errors are given in the terminal window:
TypeError: EndEdit() takes exactly 4 arguments (5 given)
What's the wrong?
--
Tengfei Ma
Visiting Ph.D. student
Earth & Marine Sci. C373
UC Santa Cruz
1156 High St.
Santa Cruz, CA 95064
Ph: (831)515-8273
Thomas,
I get the same error referenced by Xiao in this thread, http://mailman-as.oma.be/pipermail/msnoise/2013-October/000033.html.
Namely, in the Configurator UI, I cannot seem to edit the filters table and this leads to the errors in s02new_jobs.py (I believe).
Traceback (most recent call last):
File "s02new_jobs.py", line 89, in <module>
if day != old_day and day_pairs != []:
NameError: name 'day' is not defined
I did not see a definitive fix in the following emails. If I have to edit the filters table manually (in MySQL I assume), can you supply me with an example to guide me?
A screenshot is attached. I am on OS X 10.8.5.
Thanks,
Rob
+----------------------------+
Robert E. Abbott, Ph.D.
Sandia National Laboratories
Geophysics Department MS 0750
P.O. Box 5800
Albuquerque, NM 87185-0750
(505) 845-0266
+----------------------------+
Hi Rob,
The way to add the filters in your input parameters is using a sqlite
manager for firefox:
https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
Then you can open the msnoise.sqlite file, which is in your main directory,
and edit your filters.
I think, this error is not relative to the filters. You have to check that
your stations and network are well established on this
input parameters and then your waveforms must be identify as "T" instead
"D".
Traceback (most recent call last):
File "s02new_jobs.py", line 89, in <module>
if day != old_day and day_pairs != []:
NameError: name 'day' is not defined
Esteban.
Esteban J. Chaves
PhD Student in Seismology
Earth and Planetary Sciences
Earth and Marine Science Building
office C317B
University of California, Santa Cruz
On Mon, Jan 27, 2014 at 12:16 PM, <msnoise-request(a)mailman-as.oma.be> wrote:
> Send MSNoise mailing list submissions to
> msnoise(a)mailman-as.oma.be
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> or, via email, send a message with subject or body 'help' to
> msnoise-request(a)mailman-as.oma.be
>
> You can reach the person managing the list at
> msnoise-owner(a)mailman-as.oma.be
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MSNoise digest..."
>
>
> Today's Topics:
>
> 1. Empty Filters Table (Abbott, Robert E)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Jan 2014 20:15:29 +0000
> From: "Abbott, Robert E" <reabbot(a)sandia.gov>
> To: "Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise" <msnoise(a)mailman-as.oma.be>
> Subject: [MSNoise] Empty Filters Table
> Message-ID: <CF0C0C6F.4DAF%reabbot(a)sandia.gov>
> Content-Type: text/plain; charset="us-ascii"
>
> Thomas,
>
> I get the same error referenced by Xiao in this thread,
> http://mailman-as.oma.be/pipermail/msnoise/2013-October/000033.html.
>
> Namely, in the Configurator UI, I cannot seem to edit the filters table
> and this leads to the errors in s02new_jobs.py (I believe).
>
> Traceback (most recent call last):
> File "s02new_jobs.py", line 89, in <module>
> if day != old_day and day_pairs != []:
> NameError: name 'day' is not defined
>
> I did not see a definitive fix in the following emails. If I have to edit
> the filters table manually (in MySQL I assume), can you supply me with an
> example to guide me?
>
> A screenshot is attached. I am on OS X 10.8.5.
>
> Thanks,
> Rob
>
> +----------------------------+
> Robert E. Abbott, Ph.D.
> Sandia National Laboratories
> Geophysics Department MS 0750
> P.O. Box 5800
> Albuquerque, NM 87185-0750
> (505) 845-0266
> +----------------------------+
>
>
Dear Thomas,
This problem is relative to a DAS configuration.
Here is a program called msmod to change the miniseed
headers:
https://seiscode.iris.washington.edu/search?utf8=%E2%9C%93&q=msmod&all_word…
Esteban,
Esteban J. Chaves
PhD Student in Seismology
Earth and Planetary Sciences
Earth and Marine Science Building
office C317B
University of California, Santa Cruz
On Wed, Jan 22, 2014 at 7:54 AM, <msnoise-request(a)mailman-as.oma.be> wrote:
> Send MSNoise mailing list submissions to
> msnoise(a)mailman-as.oma.be
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> or, via email, send a message with subject or body 'help' to
> msnoise-request(a)mailman-as.oma.be
>
> You can reach the person managing the list at
> msnoise-owner(a)mailman-as.oma.be
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MSNoise digest..."
>
>
> Today's Topics:
>
> 1. Re: [EXTERNAL] Re: Possible to use data from ref2mseed?
> (Abbott, Robert E)
> 2. Re: [EXTERNAL] Re: Possible to use data from ref2mseed?
> (Thomas Lecocq)
> 3. Re: [EXTERNAL] Re: Possible to use data from ref2mseed?
> (Abbott, Robert E)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 22 Jan 2014 15:20:20 +0000
> From: "Abbott, Robert E" <reabbot(a)sandia.gov>
> To: "Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise" <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] [EXTERNAL] Re: Possible to use data from
> ref2mseed?
> Message-ID: <CF052D8D.4BDC%reabbot(a)sandia.gov>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The filenames take the serial number of the DAS automatically. I do not
> think this behavior can be changed during conversion The header values
> are populated by a parameter file input by the user. Below is a few lines
> of the parameter file:
>
> #das;refchan;refstrm;netcode;station;channel;loccode;encoding;samplerate;ga
> in
> BACB; 1; 1; PA; CE1; HHZ; 00; INT32; 125; x1
> BACB; 2; 1; PA; CE1; HHN; 00; INT32; 125; x1
> BACB; 3; 1; PA; CE1; HHE; 00; INT32; 125; x1
> B9F0; 1; 1; PA; R1A; HHZ; 00; INT32; 125; x1
>
>
> I can change the 'station' parameter to match the 'das' parameter, or
> write a script to batch rename the files to match the 'station'. I think I
> would prefer to do the latter, as the DAS serial number has no geographic
> significance, unlike the station value. For instance R1A, R1B are on Ring
> 1 of the array and R2A, R2B are Ring 2, etc. CE1 is the center element of
> the array.
>
> Do you want me to send you renamed data?
>
> Best,
> Rob
>
>
>
> +----------------------------+
>
> Robert E. Abbott, Ph.D.
> Sandia National Laboratories
> Geophysics Department MS 0750
> P.O. Box 5800
> Albuquerque, NM 87185-0750
> (505) 845-0266
> +----------------------------+
>
>
>
>
>
> On 1/22/14 1:43 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
>
> >Hi Rob,
> >
> >I can read those files. I'm a little concerned by the fact the station
> >name in the filename is not the station name in the actual data
> >contained in the file. That is strange, and this could be a problem.
> >Indeed, the station table is populated from the filenames, and the
> >archive is scanned searching for selected stations in the configuration.
> >But, the scan reads data within the file and stores metadata in the
> >database, and these metadata have different station names.
> >
> >Do you have an idea why the names don't match ?
> >
> >Thomas
> >
> >Le 20/01/2014 23:30, Abbott, Robert E a ?crit :
> >> Thomas,
> >>
> >> New files are on the way to you. I changed conversion algorithm from
> >> 'ref2mseed' to 'rt2ms' (also from PASSCAL, but more modern). rt2ms
> >> produces much the same naming scheme except it has a YYYY format instead
> >> of a YY, among other changes.
> >>
> >> Hope this helps,
> >> Rob
> >>
> >> +----------------------------+
> >> Robert E. Abbott, Ph.D.
> >> Sandia National Laboratories
> >> Geophysics Department MS 0750
> >> P.O. Box 5800
> >> Albuquerque, NM 87185-0750
> >> (505) 845-0266
> >> +----------------------------+
> >>
> >>
> >>
> >>
> >>
> >> On 1/14/14 2:35 PM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>
> >>> Rob,
> >>>
> >>> Le 14.01.2014 21:40, Abbott, Robert E a ?crit :
> >>>> Thanks, Thomas. I am on travel right now, so I will have to get you
> >>>> the parameters Monday. There is a finite chance I screwed up and gave
> >>>> you SEG-Y files, they are named similarly. If that is the case, I
> >>>> apologize for the confusion.
> >>> I tried reading SEG-Y but it doesn't work either. Let's wait till
> >>>Monday
> >>> to check !
> >>>
> >>> Cheers
> >>>
> >>> Thomas
> >>>
> >>>> Sent from my iPad
> >>>>
> >>>>> On Jan 14, 2014, at 10:27 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be>
> >>>>> wrote:
> >>>>>
> >>>>> Hi Rob,
> >>>>>
> >>>>> OK, got your files. I can modify the code to automatically find the
> >>>>> stations, that's OK.
> >>>>>
> >>>>> But, I can't read them in Python. Although you state it's MiniSeed
> >>>>> (and I believe you :-) ), I can't find the proper parameters to read
> >>>>> them. Did you pass any argument to the converter ? Are you able to
> >>>>> open them using another tool ?
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Thomas
> >>>>>
> >>>>> Le 10.01.2014 18:18, Abbott, Robert E a ?crit :
> >>>>>> Thomas,
> >>>>>> Thanks for very much for your help. I will send you some data, but 3
> >>>>>> days,
> >>>>>> 3 stations is quite a large data volume as my sample rate is 200 Hz.
> >>>>>> Do
> >>>>>> you have a dropbox.com account? That has worked in the past for me.
> >>>>>> Alternatively, I could send just an hour or two of data per day...
> >>>>>> Thanks,
> >>>>>> Rob
> >>>>>> +----------------------------+
> >>>>>> Robert E. Abbott, Ph.D.
> >>>>>> Sandia National Laboratories
> >>>>>> Geophysics Department MS 0750
> >>>>>> P.O. Box 5800
> >>>>>> Albuquerque, NM 87185-0750
> >>>>>> (505) 845-0266
> >>>>>> +----------------------------+
> >>>>>>> On 1/10/14 9:06 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>>>>>> Hi Rob,
> >>>>>>> Yes, it is definitively possible. Highly dependant on your python
> >>>>>>> skills, I'm afraid...
> >>>>>>> The data structure will be something like :
> >>>>>>> data_structure['ref2mseed'] = "RDAY.LOC/YEAR.DAY.HOUR.MIN.STA.CHAN"
> >>>>>>> but:
> >>>>>>> I assume yy is a 2digit year format ? Then YEAR will not work, we
> >>>>>>> need
> >>>>>>> to put YY and define it in the reader (in populate station table)
> >>>>>>> I set STA to your instrument number, which I suppose are located at
> >>>>>>> a
> >>>>>>> unique position within this very archive.
> >>>>>>> I can help writing the reader part (populate station table). I'm
> >>>>>>>not
> >>>>>>> quite sure how the scan_archive process will (dis)like such a bad
> >>>>>>> structure (no net/ or sta/ folders)...
> >>>>>>> If you provide me some data, say 3 days, 3 stations, I can test the
> >>>>>>> code
> >>>>>>> on it...
> >>>>>>> Best regards from Brussels,
> >>>>>>> Thomas
> >>>>>>> Le 09/01/2014 22:43, Abbott, Robert E a ?crit :
> >>>>>>>> Greetings,
> >>>>>>>> Is it possible to use MSNoise on data generated from the PASSCAL
> >>>>>>>> Instrument Center utility "ref2mseed" (the data is from Reftek 130
> >>>>>>>> digitizers). The data is named like this:
> >>>>>>>> Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
> >>>>>>>> where
> >>>>>>>> yy -- year of the record
> >>>>>>>> ddd -- julian day of the record
> >>>>>>>> S -- data stream of the instrument (usually 1)
> >>>>>>>> hh -- hour the record was recorded
> >>>>>>>> mm -- minute the record was recorded
> >>>>>>>> iiii -- instrument number
> >>>>>>>> c -- channel number
> >>>>>>>> How would I format the data_structure parameter>
> >>>>>>>> Thanks,
> >>>>>>>> Rob
> >>>>>>>> +----------------------------+
> >>>>>>>> Robert E. Abbott, Ph.D.
> >>>>>>>> Sandia National Laboratories
> >>>>>>>> Geophysics Department MS 0750
> >>>>>>>> P.O. Box 5800
> >>>>>>>> Albuquerque, NM 87185-0750
> >>>>>>>> (505) 845-0266
> >>>>>>>> +----------------------------+
> >>>>>>>> _______________________________________________
> >>>>>>>> MSNoise mailing list
> >>>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>> _______________________________________________
> >>>>>>> MSNoise mailing list
> >>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>> _______________________________________________
> >>>>>> MSNoise mailing list
> >>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>> _______________________________________________
> >>>>> MSNoise mailing list
> >>>>> MSNoise(a)mailman-as.oma.be
> >>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>> _______________________________________________
> >>>> MSNoise mailing list
> >>>> MSNoise(a)mailman-as.oma.be
> >>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise(a)mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >
> >_______________________________________________
> >MSNoise mailing list
> >MSNoise(a)mailman-as.oma.be
> >http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 22 Jan 2014 16:27:08 +0100
> From: Thomas Lecocq <thomas.lecocq(a)oma.be>
> To: msnoise(a)mailman-as.oma.be
> Subject: Re: [MSNoise] [EXTERNAL] Re: Possible to use data from
> ref2mseed?
> Message-ID: <52DFE34C.8020206(a)oma.be>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Rob,
> Le 22/01/2014 16:20, Abbott, Robert E a ?crit :
> > The filenames take the serial number of the DAS automatically. I do not
> > think this behavior can be changed during conversion The header values
> > are populated by a parameter file input by the user. Below is a few lines
> > of the parameter file:
> >
> >
> #das;refchan;refstrm;netcode;station;channel;loccode;encoding;samplerate;ga
> > in
> > BACB; 1; 1; PA; CE1; HHZ; 00; INT32; 125; x1
> > BACB; 2; 1; PA; CE1; HHN; 00; INT32; 125; x1
> > BACB; 3; 1; PA; CE1; HHE; 00; INT32; 125; x1
> > B9F0; 1; 1; PA; R1A; HHZ; 00; INT32; 125; x1
> >
> >
> > I can change the 'station' parameter to match the 'das' parameter, or
> > write a script to batch rename the files to match the 'station'. I think
> I
> > would prefer to do the latter, as the DAS serial number has no geographic
> > significance, unlike the station value. For instance R1A, R1B are on Ring
> > 1 of the array and R2A, R2B are Ring 2, etc. CE1 is the center element of
> > the array.
> Yes, that would make sense, even for pure archive maintenance
> considerations
> >
> > Do you want me to send you renamed data?
> Yes, go ahead !
>
> Thom
>
> >
> > Best,
> > Rob
> >
> >
> >
> > +----------------------------+
> >
> > Robert E. Abbott, Ph.D.
> > Sandia National Laboratories
> > Geophysics Department MS 0750
> > P.O. Box 5800
> > Albuquerque, NM 87185-0750
> > (505) 845-0266
> > +----------------------------+
> >
> >
> >
> >
> >
> > On 1/22/14 1:43 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >
> >> Hi Rob,
> >>
> >> I can read those files. I'm a little concerned by the fact the station
> >> name in the filename is not the station name in the actual data
> >> contained in the file. That is strange, and this could be a problem.
> >> Indeed, the station table is populated from the filenames, and the
> >> archive is scanned searching for selected stations in the configuration.
> >> But, the scan reads data within the file and stores metadata in the
> >> database, and these metadata have different station names.
> >>
> >> Do you have an idea why the names don't match ?
> >>
> >> Thomas
> >>
> >> Le 20/01/2014 23:30, Abbott, Robert E a ?crit :
> >>> Thomas,
> >>>
> >>> New files are on the way to you. I changed conversion algorithm from
> >>> 'ref2mseed' to 'rt2ms' (also from PASSCAL, but more modern). rt2ms
> >>> produces much the same naming scheme except it has a YYYY format
> instead
> >>> of a YY, among other changes.
> >>>
> >>> Hope this helps,
> >>> Rob
> >>>
> >>> +----------------------------+
> >>> Robert E. Abbott, Ph.D.
> >>> Sandia National Laboratories
> >>> Geophysics Department MS 0750
> >>> P.O. Box 5800
> >>> Albuquerque, NM 87185-0750
> >>> (505) 845-0266
> >>> +----------------------------+
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On 1/14/14 2:35 PM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>>
> >>>> Rob,
> >>>>
> >>>> Le 14.01.2014 21:40, Abbott, Robert E a ?crit :
> >>>>> Thanks, Thomas. I am on travel right now, so I will have to get you
> >>>>> the parameters Monday. There is a finite chance I screwed up and gave
> >>>>> you SEG-Y files, they are named similarly. If that is the case, I
> >>>>> apologize for the confusion.
> >>>> I tried reading SEG-Y but it doesn't work either. Let's wait till
> >>>> Monday
> >>>> to check !
> >>>>
> >>>> Cheers
> >>>>
> >>>> Thomas
> >>>>
> >>>>> Sent from my iPad
> >>>>>
> >>>>>> On Jan 14, 2014, at 10:27 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be
> >
> >>>>>> wrote:
> >>>>>>
> >>>>>> Hi Rob,
> >>>>>>
> >>>>>> OK, got your files. I can modify the code to automatically find the
> >>>>>> stations, that's OK.
> >>>>>>
> >>>>>> But, I can't read them in Python. Although you state it's MiniSeed
> >>>>>> (and I believe you :-) ), I can't find the proper parameters to read
> >>>>>> them. Did you pass any argument to the converter ? Are you able to
> >>>>>> open them using another tool ?
> >>>>>>
> >>>>>> Cheers,
> >>>>>>
> >>>>>> Thomas
> >>>>>>
> >>>>>> Le 10.01.2014 18:18, Abbott, Robert E a ?crit :
> >>>>>>> Thomas,
> >>>>>>> Thanks for very much for your help. I will send you some data, but
> 3
> >>>>>>> days,
> >>>>>>> 3 stations is quite a large data volume as my sample rate is 200
> Hz.
> >>>>>>> Do
> >>>>>>> you have a dropbox.com account? That has worked in the past for
> me.
> >>>>>>> Alternatively, I could send just an hour or two of data per day...
> >>>>>>> Thanks,
> >>>>>>> Rob
> >>>>>>> +----------------------------+
> >>>>>>> Robert E. Abbott, Ph.D.
> >>>>>>> Sandia National Laboratories
> >>>>>>> Geophysics Department MS 0750
> >>>>>>> P.O. Box 5800
> >>>>>>> Albuquerque, NM 87185-0750
> >>>>>>> (505) 845-0266
> >>>>>>> +----------------------------+
> >>>>>>>> On 1/10/14 9:06 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>>>>>>> Hi Rob,
> >>>>>>>> Yes, it is definitively possible. Highly dependant on your python
> >>>>>>>> skills, I'm afraid...
> >>>>>>>> The data structure will be something like :
> >>>>>>>> data_structure['ref2mseed'] =
> "RDAY.LOC/YEAR.DAY.HOUR.MIN.STA.CHAN"
> >>>>>>>> but:
> >>>>>>>> I assume yy is a 2digit year format ? Then YEAR will not work, we
> >>>>>>>> need
> >>>>>>>> to put YY and define it in the reader (in populate station table)
> >>>>>>>> I set STA to your instrument number, which I suppose are located
> at
> >>>>>>>> a
> >>>>>>>> unique position within this very archive.
> >>>>>>>> I can help writing the reader part (populate station table). I'm
> >>>>>>>> not
> >>>>>>>> quite sure how the scan_archive process will (dis)like such a bad
> >>>>>>>> structure (no net/ or sta/ folders)...
> >>>>>>>> If you provide me some data, say 3 days, 3 stations, I can test
> the
> >>>>>>>> code
> >>>>>>>> on it...
> >>>>>>>> Best regards from Brussels,
> >>>>>>>> Thomas
> >>>>>>>> Le 09/01/2014 22:43, Abbott, Robert E a ?crit :
> >>>>>>>>> Greetings,
> >>>>>>>>> Is it possible to use MSNoise on data generated from the PASSCAL
> >>>>>>>>> Instrument Center utility "ref2mseed" (the data is from Reftek
> 130
> >>>>>>>>> digitizers). The data is named like this:
> >>>>>>>>> Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
> >>>>>>>>> where
> >>>>>>>>> yy -- year of the record
> >>>>>>>>> ddd -- julian day of the record
> >>>>>>>>> S -- data stream of the instrument (usually 1)
> >>>>>>>>> hh -- hour the record was recorded
> >>>>>>>>> mm -- minute the record was recorded
> >>>>>>>>> iiii -- instrument number
> >>>>>>>>> c -- channel number
> >>>>>>>>> How would I format the data_structure parameter>
> >>>>>>>>> Thanks,
> >>>>>>>>> Rob
> >>>>>>>>> +----------------------------+
> >>>>>>>>> Robert E. Abbott, Ph.D.
> >>>>>>>>> Sandia National Laboratories
> >>>>>>>>> Geophysics Department MS 0750
> >>>>>>>>> P.O. Box 5800
> >>>>>>>>> Albuquerque, NM 87185-0750
> >>>>>>>>> (505) 845-0266
> >>>>>>>>> +----------------------------+
> >>>>>>>>> _______________________________________________
> >>>>>>>>> MSNoise mailing list
> >>>>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>>> _______________________________________________
> >>>>>>>> MSNoise mailing list
> >>>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>> _______________________________________________
> >>>>>>> MSNoise mailing list
> >>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>> _______________________________________________
> >>>>>> MSNoise mailing list
> >>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>> _______________________________________________
> >>>>> MSNoise mailing list
> >>>>> MSNoise(a)mailman-as.oma.be
> >>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>> _______________________________________________
> >>>> MSNoise mailing list
> >>>> MSNoise(a)mailman-as.oma.be
> >>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise(a)mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise(a)mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 22 Jan 2014 15:53:58 +0000
> From: "Abbott, Robert E" <reabbot(a)sandia.gov>
> To: "Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise" <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] [EXTERNAL] Re: Possible to use data from
> ref2mseed?
> Message-ID: <CF053777.4BF8%reabbot(a)sandia.gov>
> Content-Type: text/plain; charset="Windows-1252"
>
> Data is on its way to you?
>
> +----------------------------+
> Robert E. Abbott, Ph.D.
> Sandia National Laboratories
> Geophysics Department MS 0750
> P.O. Box 5800
> Albuquerque, NM 87185-0750
> (505) 845-0266
> +----------------------------+
>
>
>
>
>
> On 1/22/14 8:27 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
>
> >Rob,
> >Le 22/01/2014 16:20, Abbott, Robert E a ?crit :
> >> The filenames take the serial number of the DAS automatically. I do not
> >> think this behavior can be changed during conversion The header values
> >> are populated by a parameter file input by the user. Below is a few
> >>lines
> >> of the parameter file:
> >>
> >>
> >>#das;refchan;refstrm;netcode;station;channel;loccode;encoding;samplerate;
> >>ga
> >> in
> >> BACB; 1; 1; PA; CE1; HHZ; 00; INT32; 125; x1
> >> BACB; 2; 1; PA; CE1; HHN; 00; INT32; 125; x1
> >> BACB; 3; 1; PA; CE1; HHE; 00; INT32; 125; x1
> >> B9F0; 1; 1; PA; R1A; HHZ; 00; INT32; 125; x1
> >>
> >>
> >> I can change the 'station' parameter to match the 'das' parameter, or
> >> write a script to batch rename the files to match the 'station'. I
> >>think I
> >> would prefer to do the latter, as the DAS serial number has no
> >>geographic
> >> significance, unlike the station value. For instance R1A, R1B are on
> >>Ring
> >> 1 of the array and R2A, R2B are Ring 2, etc. CE1 is the center element
> >>of
> >> the array.
> >Yes, that would make sense, even for pure archive maintenance
> >considerations
> >>
> >> Do you want me to send you renamed data?
> >Yes, go ahead !
> >
> >Thom
> >
> >>
> >> Best,
> >> Rob
> >>
> >>
> >>
> >> +----------------------------+
> >>
> >> Robert E. Abbott, Ph.D.
> >> Sandia National Laboratories
> >> Geophysics Department MS 0750
> >> P.O. Box 5800
> >> Albuquerque, NM 87185-0750
> >> (505) 845-0266
> >> +----------------------------+
> >>
> >>
> >>
> >>
> >>
> >> On 1/22/14 1:43 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>
> >>> Hi Rob,
> >>>
> >>> I can read those files. I'm a little concerned by the fact the station
> >>> name in the filename is not the station name in the actual data
> >>> contained in the file. That is strange, and this could be a problem.
> >>> Indeed, the station table is populated from the filenames, and the
> >>> archive is scanned searching for selected stations in the
> >>>configuration.
> >>> But, the scan reads data within the file and stores metadata in the
> >>> database, and these metadata have different station names.
> >>>
> >>> Do you have an idea why the names don't match ?
> >>>
> >>> Thomas
> >>>
> >>> Le 20/01/2014 23:30, Abbott, Robert E a ?crit :
> >>>> Thomas,
> >>>>
> >>>> New files are on the way to you. I changed conversion algorithm from
> >>>> 'ref2mseed' to 'rt2ms' (also from PASSCAL, but more modern). rt2ms
> >>>> produces much the same naming scheme except it has a YYYY format
> >>>>instead
> >>>> of a YY, among other changes.
> >>>>
> >>>> Hope this helps,
> >>>> Rob
> >>>>
> >>>> +----------------------------+
> >>>> Robert E. Abbott, Ph.D.
> >>>> Sandia National Laboratories
> >>>> Geophysics Department MS 0750
> >>>> P.O. Box 5800
> >>>> Albuquerque, NM 87185-0750
> >>>> (505) 845-0266
> >>>> +----------------------------+
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On 1/14/14 2:35 PM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>>>
> >>>>> Rob,
> >>>>>
> >>>>> Le 14.01.2014 21:40, Abbott, Robert E a ?crit :
> >>>>>> Thanks, Thomas. I am on travel right now, so I will have to get you
> >>>>>> the parameters Monday. There is a finite chance I screwed up and
> >>>>>>gave
> >>>>>> you SEG-Y files, they are named similarly. If that is the case, I
> >>>>>> apologize for the confusion.
> >>>>> I tried reading SEG-Y but it doesn't work either. Let's wait till
> >>>>> Monday
> >>>>> to check !
> >>>>>
> >>>>> Cheers
> >>>>>
> >>>>> Thomas
> >>>>>
> >>>>>> Sent from my iPad
> >>>>>>
> >>>>>>> On Jan 14, 2014, at 10:27 AM, "Thomas Lecocq"
> >>>>>>><thomas.lecocq(a)oma.be>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>> Hi Rob,
> >>>>>>>
> >>>>>>> OK, got your files. I can modify the code to automatically find the
> >>>>>>> stations, that's OK.
> >>>>>>>
> >>>>>>> But, I can't read them in Python. Although you state it's MiniSeed
> >>>>>>> (and I believe you :-) ), I can't find the proper parameters to
> >>>>>>>read
> >>>>>>> them. Did you pass any argument to the converter ? Are you able to
> >>>>>>> open them using another tool ?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>>
> >>>>>>> Thomas
> >>>>>>>
> >>>>>>> Le 10.01.2014 18:18, Abbott, Robert E a ?crit :
> >>>>>>>> Thomas,
> >>>>>>>> Thanks for very much for your help. I will send you some data,
> >>>>>>>>but 3
> >>>>>>>> days,
> >>>>>>>> 3 stations is quite a large data volume as my sample rate is 200
> >>>>>>>>Hz.
> >>>>>>>> Do
> >>>>>>>> you have a dropbox.com account? That has worked in the past for
> >>>>>>>>me.
> >>>>>>>> Alternatively, I could send just an hour or two of data per day...
> >>>>>>>> Thanks,
> >>>>>>>> Rob
> >>>>>>>> +----------------------------+
> >>>>>>>> Robert E. Abbott, Ph.D.
> >>>>>>>> Sandia National Laboratories
> >>>>>>>> Geophysics Department MS 0750
> >>>>>>>> P.O. Box 5800
> >>>>>>>> Albuquerque, NM 87185-0750
> >>>>>>>> (505) 845-0266
> >>>>>>>> +----------------------------+
> >>>>>>>>> On 1/10/14 9:06 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be>
> wrote:
> >>>>>>>>> Hi Rob,
> >>>>>>>>> Yes, it is definitively possible. Highly dependant on your python
> >>>>>>>>> skills, I'm afraid...
> >>>>>>>>> The data structure will be something like :
> >>>>>>>>> data_structure['ref2mseed'] =
> >>>>>>>>>"RDAY.LOC/YEAR.DAY.HOUR.MIN.STA.CHAN"
> >>>>>>>>> but:
> >>>>>>>>> I assume yy is a 2digit year format ? Then YEAR will not work, we
> >>>>>>>>> need
> >>>>>>>>> to put YY and define it in the reader (in populate station table)
> >>>>>>>>> I set STA to your instrument number, which I suppose are located
> >>>>>>>>>at
> >>>>>>>>> a
> >>>>>>>>> unique position within this very archive.
> >>>>>>>>> I can help writing the reader part (populate station table). I'm
> >>>>>>>>> not
> >>>>>>>>> quite sure how the scan_archive process will (dis)like such a bad
> >>>>>>>>> structure (no net/ or sta/ folders)...
> >>>>>>>>> If you provide me some data, say 3 days, 3 stations, I can test
> >>>>>>>>>the
> >>>>>>>>> code
> >>>>>>>>> on it...
> >>>>>>>>> Best regards from Brussels,
> >>>>>>>>> Thomas
> >>>>>>>>> Le 09/01/2014 22:43, Abbott, Robert E a ?crit :
> >>>>>>>>>> Greetings,
> >>>>>>>>>> Is it possible to use MSNoise on data generated from the PASSCAL
> >>>>>>>>>> Instrument Center utility "ref2mseed" (the data is from Reftek
> >>>>>>>>>>130
> >>>>>>>>>> digitizers). The data is named like this:
> >>>>>>>>>> Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
> >>>>>>>>>> where
> >>>>>>>>>> yy -- year of the record
> >>>>>>>>>> ddd -- julian day of the record
> >>>>>>>>>> S -- data stream of the instrument (usually
> >>>>>>>>>>1)
> >>>>>>>>>> hh -- hour the record was recorded
> >>>>>>>>>> mm -- minute the record was recorded
> >>>>>>>>>> iiii -- instrument number
> >>>>>>>>>> c -- channel number
> >>>>>>>>>> How would I format the data_structure parameter>
> >>>>>>>>>> Thanks,
> >>>>>>>>>> Rob
> >>>>>>>>>> +----------------------------+
> >>>>>>>>>> Robert E. Abbott, Ph.D.
> >>>>>>>>>> Sandia National Laboratories
> >>>>>>>>>> Geophysics Department MS 0750
> >>>>>>>>>> P.O. Box 5800
> >>>>>>>>>> Albuquerque, NM 87185-0750
> >>>>>>>>>> (505) 845-0266
> >>>>>>>>>> +----------------------------+
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> MSNoise mailing list
> >>>>>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>>>> _______________________________________________
> >>>>>>>>> MSNoise mailing list
> >>>>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>>> _______________________________________________
> >>>>>>>> MSNoise mailing list
> >>>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>> _______________________________________________
> >>>>>>> MSNoise mailing list
> >>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>> _______________________________________________
> >>>>>> MSNoise mailing list
> >>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>> _______________________________________________
> >>>>> MSNoise mailing list
> >>>>> MSNoise(a)mailman-as.oma.be
> >>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>> _______________________________________________
> >>>> MSNoise mailing list
> >>>> MSNoise(a)mailman-as.oma.be
> >>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise(a)mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >
> >_______________________________________________
> >MSNoise mailing list
> >MSNoise(a)mailman-as.oma.be
> >http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
>
> ------------------------------
>
> _______________________________________________
> MSNoise mailing list
> MSNoise(a)mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> End of MSNoise Digest, Vol 3, Issue 7
> *************************************
>
Greetings,
Is it possible to use MSNoise on data generated from the PASSCAL Instrument Center utility "ref2mseed" (the data is from Reftek 130 digitizers). The data is named like this:
Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
where
yy -- year of the record
ddd -- julian day of the record
S -- data stream of the instrument (usually 1)
hh -- hour the record was recorded
mm -- minute the record was recorded
iiii -- instrument number
c -- channel number
How would I format the data_structure parameter>
Thanks,
Rob
+----------------------------+
Robert E. Abbott, Ph.D.
Sandia National Laboratories
Geophysics Department MS 0750
P.O. Box 5800
Albuquerque, NM 87185-0750
(505) 845-0266
+----------------------------+
Hello Rob and Thomas
I'm using Reftek's RT-130, and what I do is convert the
data from reftek to miniseed using rt_mseed from the
Reftek utilities. In case you need to correct the header of your miniseed
data
you can use a program called msmod.
Then, you can write an script to change the external name of your data, for
example:
your miniseed: Rddd.0S/yy.ddd.hh.mm.ss.iiii.c ; and asuming a station
called INDI and XX as network;
Script:
for i in yy.ddd.hh*; do
j=`echo $i | sed 's/yy.ddd.hh*/XX.INDI.00.HHZ.yy.ddd.hh/'`
mv $i $j
done
Esteban.
UCSC.
Esteban J. Chaves
PhD Student in Seismology
Earth and Planetary Sciences
Earth and Marine Science Building
office C317B
University of California, Santa Cruz
On Wed, Jan 15, 2014 at 4:00 AM, <msnoise-request(a)mailman-as.oma.be> wrote:
> Send MSNoise mailing list submissions to
> msnoise(a)mailman-as.oma.be
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> or, via email, send a message with subject or body 'help' to
> msnoise-request(a)mailman-as.oma.be
>
> You can reach the person managing the list at
> msnoise-owner(a)mailman-as.oma.be
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MSNoise digest..."
>
>
> Today's Topics:
>
> 1. Re: [EXTERNAL] Re: Possible to use data from ref2mseed?
> (Thomas Lecocq)
> 2. Re: [EXTERNAL] Re: Possible to use data from ref2mseed?
> (Abbott, Robert E)
> 3. Re: [EXTERNAL] Re: Possible to use data from ref2mseed?
> (Thomas Lecocq)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 Jan 2014 18:26:43 +0100
> From: Thomas Lecocq <thomas.lecocq(a)oma.be>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] [EXTERNAL] Re: Possible to use data from
> ref2mseed?
> Message-ID: <b79674c9011399c24e9a6ec42f9d195c(a)oma.be>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Hi Rob,
>
> OK, got your files. I can modify the code to automatically find the
> stations, that's OK.
>
> But, I can't read them in Python. Although you state it's MiniSeed (and
> I believe you :-) ), I can't find the proper parameters to read them.
> Did you pass any argument to the converter ? Are you able to open them
> using another tool ?
>
> Cheers,
>
> Thomas
>
> Le 10.01.2014 18:18, Abbott, Robert E a ?crit?:
> > Thomas,
> >
> > Thanks for very much for your help. I will send you some data, but 3
> > days,
> > 3 stations is quite a large data volume as my sample rate is 200 Hz. Do
> > you have a dropbox.com account? That has worked in the past for me.
> > Alternatively, I could send just an hour or two of data per day...
> >
> > Thanks,
> > Rob
> >
> >
> >
> > +----------------------------+
> > Robert E. Abbott, Ph.D.
> > Sandia National Laboratories
> > Geophysics Department MS 0750
> > P.O. Box 5800
> > Albuquerque, NM 87185-0750
> > (505) 845-0266
> > +----------------------------+
> >
> >
> >
> >
> >
> > On 1/10/14 9:06 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >
> >> Hi Rob,
> >>
> >> Yes, it is definitively possible. Highly dependant on your python
> >> skills, I'm afraid...
> >>
> >> The data structure will be something like :
> >>
> >> data_structure['ref2mseed'] = "RDAY.LOC/YEAR.DAY.HOUR.MIN.STA.CHAN"
> >>
> >> but:
> >>
> >> I assume yy is a 2digit year format ? Then YEAR will not work, we need
> >> to put YY and define it in the reader (in populate station table)
> >> I set STA to your instrument number, which I suppose are located at a
> >> unique position within this very archive.
> >>
> >> I can help writing the reader part (populate station table). I'm not
> >> quite sure how the scan_archive process will (dis)like such a bad
> >> structure (no net/ or sta/ folders)...
> >>
> >> If you provide me some data, say 3 days, 3 stations, I can test the
> >> code
> >> on it...
> >>
> >> Best regards from Brussels,
> >>
> >> Thomas
> >>
> >> Le 09/01/2014 22:43, Abbott, Robert E a ?crit :
> >>> Greetings,
> >>>
> >>> Is it possible to use MSNoise on data generated from the PASSCAL
> >>> Instrument Center utility "ref2mseed" (the data is from Reftek 130
> >>> digitizers). The data is named like this:
> >>>
> >>> Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
> >>> where
> >>> yy -- year of the record
> >>> ddd -- julian day of the record
> >>> S -- data stream of the instrument (usually 1)
> >>> hh -- hour the record was recorded
> >>> mm -- minute the record was recorded
> >>> iiii -- instrument number
> >>> c -- channel number
> >>>
> >>> How would I format the data_structure parameter>
> >>>
> >>> Thanks,
> >>> Rob
> >>>
> >>> +----------------------------+
> >>> Robert E. Abbott, Ph.D.
> >>> Sandia National Laboratories
> >>> Geophysics Department MS 0750
> >>> P.O. Box 5800
> >>> Albuquerque, NM 87185-0750
> >>> (505) 845-0266
> >>> +----------------------------+
> >>>
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise(a)mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise(a)mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 14 Jan 2014 20:40:20 +0000
> From: "Abbott, Robert E" <reabbot(a)sandia.gov>
> To: "Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise" <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] [EXTERNAL] Re: Possible to use data from
> ref2mseed?
> Message-ID: <B30BCD1F-6E70-44B7-8C85-DD6954C361EC(a)sandia.gov>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks, Thomas. I am on travel right now, so I will have to get you the
> parameters Monday. There is a finite chance I screwed up and gave you SEG-Y
> files, they are named similarly. If that is the case, I apologize for the
> confusion.
>
> Sent from my iPad
>
> > On Jan 14, 2014, at 10:27 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be>
> wrote:
> >
> > Hi Rob,
> >
> > OK, got your files. I can modify the code to automatically find the
> stations, that's OK.
> >
> > But, I can't read them in Python. Although you state it's MiniSeed (and
> I believe you :-) ), I can't find the proper parameters to read them. Did
> you pass any argument to the converter ? Are you able to open them using
> another tool ?
> >
> > Cheers,
> >
> > Thomas
> >
> > Le 10.01.2014 18:18, Abbott, Robert E a ?crit :
> >> Thomas,
> >> Thanks for very much for your help. I will send you some data, but 3
> days,
> >> 3 stations is quite a large data volume as my sample rate is 200 Hz. Do
> >> you have a dropbox.com account? That has worked in the past for me.
> >> Alternatively, I could send just an hour or two of data per day...
> >> Thanks,
> >> Rob
> >> +----------------------------+
> >> Robert E. Abbott, Ph.D.
> >> Sandia National Laboratories
> >> Geophysics Department MS 0750
> >> P.O. Box 5800
> >> Albuquerque, NM 87185-0750
> >> (505) 845-0266
> >> +----------------------------+
> >>> On 1/10/14 9:06 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>> Hi Rob,
> >>> Yes, it is definitively possible. Highly dependant on your python
> >>> skills, I'm afraid...
> >>> The data structure will be something like :
> >>> data_structure['ref2mseed'] = "RDAY.LOC/YEAR.DAY.HOUR.MIN.STA.CHAN"
> >>> but:
> >>> I assume yy is a 2digit year format ? Then YEAR will not work, we need
> >>> to put YY and define it in the reader (in populate station table)
> >>> I set STA to your instrument number, which I suppose are located at a
> >>> unique position within this very archive.
> >>> I can help writing the reader part (populate station table). I'm not
> >>> quite sure how the scan_archive process will (dis)like such a bad
> >>> structure (no net/ or sta/ folders)...
> >>> If you provide me some data, say 3 days, 3 stations, I can test the
> code
> >>> on it...
> >>> Best regards from Brussels,
> >>> Thomas
> >>> Le 09/01/2014 22:43, Abbott, Robert E a ?crit :
> >>>> Greetings,
> >>>> Is it possible to use MSNoise on data generated from the PASSCAL
> >>>> Instrument Center utility "ref2mseed" (the data is from Reftek 130
> >>>> digitizers). The data is named like this:
> >>>> Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
> >>>> where
> >>>> yy -- year of the record
> >>>> ddd -- julian day of the record
> >>>> S -- data stream of the instrument (usually 1)
> >>>> hh -- hour the record was recorded
> >>>> mm -- minute the record was recorded
> >>>> iiii -- instrument number
> >>>> c -- channel number
> >>>> How would I format the data_structure parameter>
> >>>> Thanks,
> >>>> Rob
> >>>> +----------------------------+
> >>>> Robert E. Abbott, Ph.D.
> >>>> Sandia National Laboratories
> >>>> Geophysics Department MS 0750
> >>>> P.O. Box 5800
> >>>> Albuquerque, NM 87185-0750
> >>>> (505) 845-0266
> >>>> +----------------------------+
> >>>> _______________________________________________
> >>>> MSNoise mailing list
> >>>> MSNoise(a)mailman-as.oma.be
> >>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise(a)mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise(a)mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 14 Jan 2014 22:35:50 +0100
> From: Thomas Lecocq <thomas.lecocq(a)oma.be>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] [EXTERNAL] Re: Possible to use data from
> ref2mseed?
> Message-ID: <a911a3a8a074e094f158064841ac1133(a)oma.be>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Rob,
>
> Le 14.01.2014 21:40, Abbott, Robert E a ?crit?:
> > Thanks, Thomas. I am on travel right now, so I will have to get you
> > the parameters Monday. There is a finite chance I screwed up and gave
> > you SEG-Y files, they are named similarly. If that is the case, I
> > apologize for the confusion.
>
> I tried reading SEG-Y but it doesn't work either. Let's wait till Monday
> to check !
>
> Cheers
>
> Thomas
>
> >
> > Sent from my iPad
> >
> >> On Jan 14, 2014, at 10:27 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be>
> >> wrote:
> >>
> >> Hi Rob,
> >>
> >> OK, got your files. I can modify the code to automatically find the
> >> stations, that's OK.
> >>
> >> But, I can't read them in Python. Although you state it's MiniSeed
> >> (and I believe you :-) ), I can't find the proper parameters to read
> >> them. Did you pass any argument to the converter ? Are you able to
> >> open them using another tool ?
> >>
> >> Cheers,
> >>
> >> Thomas
> >>
> >> Le 10.01.2014 18:18, Abbott, Robert E a ?crit :
> >>> Thomas,
> >>> Thanks for very much for your help. I will send you some data, but 3
> >>> days,
> >>> 3 stations is quite a large data volume as my sample rate is 200 Hz.
> >>> Do
> >>> you have a dropbox.com account? That has worked in the past for me.
> >>> Alternatively, I could send just an hour or two of data per day...
> >>> Thanks,
> >>> Rob
> >>> +----------------------------+
> >>> Robert E. Abbott, Ph.D.
> >>> Sandia National Laboratories
> >>> Geophysics Department MS 0750
> >>> P.O. Box 5800
> >>> Albuquerque, NM 87185-0750
> >>> (505) 845-0266
> >>> +----------------------------+
> >>>> On 1/10/14 9:06 AM, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
> >>>> Hi Rob,
> >>>> Yes, it is definitively possible. Highly dependant on your python
> >>>> skills, I'm afraid...
> >>>> The data structure will be something like :
> >>>> data_structure['ref2mseed'] = "RDAY.LOC/YEAR.DAY.HOUR.MIN.STA.CHAN"
> >>>> but:
> >>>> I assume yy is a 2digit year format ? Then YEAR will not work, we
> >>>> need
> >>>> to put YY and define it in the reader (in populate station table)
> >>>> I set STA to your instrument number, which I suppose are located at
> >>>> a
> >>>> unique position within this very archive.
> >>>> I can help writing the reader part (populate station table). I'm not
> >>>> quite sure how the scan_archive process will (dis)like such a bad
> >>>> structure (no net/ or sta/ folders)...
> >>>> If you provide me some data, say 3 days, 3 stations, I can test the
> >>>> code
> >>>> on it...
> >>>> Best regards from Brussels,
> >>>> Thomas
> >>>> Le 09/01/2014 22:43, Abbott, Robert E a ?crit :
> >>>>> Greetings,
> >>>>> Is it possible to use MSNoise on data generated from the PASSCAL
> >>>>> Instrument Center utility "ref2mseed" (the data is from Reftek 130
> >>>>> digitizers). The data is named like this:
> >>>>> Rddd.0S/yy.ddd.hh.mm.ss.iiii.c
> >>>>> where
> >>>>> yy -- year of the record
> >>>>> ddd -- julian day of the record
> >>>>> S -- data stream of the instrument (usually 1)
> >>>>> hh -- hour the record was recorded
> >>>>> mm -- minute the record was recorded
> >>>>> iiii -- instrument number
> >>>>> c -- channel number
> >>>>> How would I format the data_structure parameter>
> >>>>> Thanks,
> >>>>> Rob
> >>>>> +----------------------------+
> >>>>> Robert E. Abbott, Ph.D.
> >>>>> Sandia National Laboratories
> >>>>> Geophysics Department MS 0750
> >>>>> P.O. Box 5800
> >>>>> Albuquerque, NM 87185-0750
> >>>>> (505) 845-0266
> >>>>> +----------------------------+
> >>>>> _______________________________________________
> >>>>> MSNoise mailing list
> >>>>> MSNoise(a)mailman-as.oma.be
> >>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>> _______________________________________________
> >>>> MSNoise mailing list
> >>>> MSNoise(a)mailman-as.oma.be
> >>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >> _______________________________________________
> >> MSNoise mailing list
> >> MSNoise(a)mailman-as.oma.be
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise(a)mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> ------------------------------
>
> _______________________________________________
> MSNoise mailing list
> MSNoise(a)mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> End of MSNoise Digest, Vol 3, Issue 3
> *************************************
>
Hi Esteban,
Sorry for not replying earlier, your email got fw to my AGU-related
folder automatically, dunno why... Anyway, I cc the mailing-list so your
problem could help others:
Le 10/01/2014 08:24, Esteban Chaves a écrit :
> Hi Thomas,
>
> How it’s going? Happy new year.
>
> After run successfully the msnoise using the example data you gave us
> at the workshop,
> I was trying to plot the results using the script 07.plot_dtt.py but I
> got the next error:
>
> File "07.plot_dtt.py", line 14, in <module>
> import matplotlib.pyplot as plt
> File
> "/Users/ech/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line
> 98, in <module>
> _backend_mod, new_figure_manager, draw_if_interactive, _show =
> pylab_setup()
> File
> "/Users/ech/anaconda/lib/python2.7/site-packages/matplotlib/backends/__init__.py",
> line 28, in pylab_setup
> globals(),locals(),[backend_name],0)
> File
> "/Users/ech/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_wxagg.py",
> line 6, in <module>
> import backend_wx # already uses wxversion.ensureMinimal('2.8')
> File
> "/Users/ech/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_wx.py",
> line 53, in <module>
> raise ImportError(missingwxversion)
> ImportError: Matplotlib backend_wx and backend_wxagg require
> wxversion, which was not found.
>
Well, it looks like the WX backend is missing on your machine (backends
are what render your graphic interfaces). So, try to delete line 3
(https://github.com/ROBelgium/MSNoise/blob/master/07.plot_dtt.py#L3) of
the file and leave matplotlib to its default config, which, I guess,
will use the PySide or Qt4 backends.
>
> I’ll be very grateful if you can help me to try to figure it out. Have
> you created other scripts to plot the results?
Yes, by the end of next week, they will be on github too !
Cheers,
Thomas
>
> Thanks in advance,
>
> Esteban
>
>
When I ran python s03compute_cc.py (msnoise version1.2), I encountered memoryerror. Any idea?
The following is output:
Traceback (most recent call last):
File "s03compute_cc.py", line 191, in <module>
tramef_Z = np.zeros((len(stations), len(TimeVec)))
MemoryError
Thanks,
Xiao
Thom,
FWIW: I believe my problem arose (no jobs to do) right from the install
(i.e., these data were fresh). But it is possible I did something else
wrong, of course.
Cheers,
kasper
On 22 November 2013 00:51, Thomas Lecocq <thomas.lecocq(a)oma.be> wrote:
> Hi Esteban
> Le 20/11/2013 17:59, Esteban Chaves a écrit :
> > Hi All,
> >
> > I got the same issue. My data is according to BUD format and I got this:
> >
> > > > python s02new_jobs.py:
> >
> >>> File ?s02new_jobs.py, line 89, in <module>
> >>> if day != old_day and day_pairs != []:
> >>> NameError: name ?day? is not defined
> Well, yes, it's most probably the same reason. Either your data archive
> has no changes between 2 runs or there is another problem. I'll commit a
> bugfix tomorrow eve max.
> >
> > Thomas; I did sent my email to apply to the workshop after AGU. I want to
> > know if you have some schedule or place where gonna be the workshop.
> > Besides, maybe you can help me with this problems in the workshop, just
> in
> > case I can't fix it before that.
> All the participants will get an email tonight with more info... :-)
>
> Cheers
>
> Thom
> >
> > Thanks in advance,
> >
> >
> >
> > Esteban J. Chaves
> > PhD Student in Seismology
> > Earth and Planetary Sciences
> > Earth and Marine Science Building
> > office C317B
> > University of California, Santa Cruz
> >
> >
> >
> > On Tue, Nov 19, 2013 at 8:37 PM, <msnoise-request(a)mailman-as.oma.be>
> wrote:
> >
> >> Send MSNoise mailing list submissions to
> >> msnoise(a)mailman-as.oma.be
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >> or, via email, send a message with subject or body 'help' to
> >> msnoise-request(a)mailman-as.oma.be
> >>
> >> You can reach the person managing the list at
> >> msnoise-owner(a)mailman-as.oma.be
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of MSNoise digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >> 1. Re: s02new_jobs (Kasper van Wijk)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Wed, 20 Nov 2013 17:36:27 +1300
> >> From: Kasper van Wijk <k.vanwijk(a)auckland.ac.nz>
> >> To: Python Package for Monitoring Seismic Velocity Changes using
> >> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> >> Subject: Re: [MSNoise] s02new_jobs
> >> Message-ID:
> >> <
> >> CAN-+WRhVirJQ0CCBKS5WFFRhahwN2cXT7RL6HkPD97ZjcJ_bww(a)mail.gmail.com>
> >> Content-Type: text/plain; charset="windows-1252"
> >>
> >> Thomas, we reinstalled with your latest versions, and now have the same
> >> problem as Esteban, I am afraid:
> >>
> >> [kasper@kvan637-277769 MSNoise-master]$ python s02new_jobs.py
> >> 2013-11-20 17:30:32,540 [INFO] *** Starting: New Jobs ***
> >> Traceback (most recent call last):
> >> File "s02new_jobs.py", line 89, in <module>
> >> if day != old_day and day_pairs != []:
> >> NameError: name 'day' is not defined
> >>
> >> My data structure is BUD (and appears correct in the configurator
> (snapshot
> >> attached), and there is more than one day's worth of data in the
> structure
> >> to correlate. File names are like this:
> >>
> >> ABAZ.NZ..EHE.2013.322 ABAZ.NZ..EHN.2013.322 ABAZ.NZ..EHZ.2013.322
> >> ABAZ.NZ..EHE.2013.323 ABAZ.NZ..EHN.2013.323 ABAZ.NZ..EHZ.2013.323
> >>
> >> I did notice among a large amount of output to screen that there was an
> >> error in
> >>
> >>> python s01scan_archive.py init
> >> ......
> >> 2013-11-20 17:27:11,154 [DEBUG] Already Exists: "ABAZ.NZ..EHZ.2013.322"
> >> (read:0.19 (0.22) seconds | save:0.0275 seconds)
> >> Traceback (most recent call last):
> >> File "s01scan_archive.py", line 203, in <module>
> >> t.start()
> >> File "/usr/lib64/python2.7/threading.py", line 746, in start
> >> _start_new_thread(self.__bootstrap, ())
> >> thread.error: can't start new thread
> >> 2013-11-20 17:27:11,324 [DEBUG] Already Exists: "ABAZ.NZ..EHZ.2013.323"
> >> (read:0.16 (0.16) seconds | save:0.0038 seconds)
> >> .....
> >>
> >> but it did finish the scanning.
> >>
> >> I am running this under linux, FC19.
> >>
> >> Cheers,
> >> Kasper
> >>
> >>
> >> On 19 November 2013 19:09, Thomas Lecocq <thomas.lecocq(a)oma.be> wrote:
> >>
> >>> Hi Esteban,
> >>>
> >>> Le 19/11/2013 00:59, Esteban Chaves Sibaja a ?crit :
> >>>> Hi,
> >>>>
> >>>> I?m trying to run my data as example: just 2 stations and ech record
> >> has
> >>> 24 hours (SAC format):
> >>>> /DATA/YZ/MIRM/MIRM.YZ.HHZ.2013.199
> >>>> /DATA/YZ/GRAS/GRAS.YZ.CR.HHZ.2013.199
> >>>>
> >>>>
> >>>> But I got the next error after type >> python s02new_jobs.py:
> >>>>
> >>>> File ?s02new_jobs.py, line 89, in <module>
> >>>> if day != old_day and day_pairs != []:
> >>>> NameError: name ?day? is not defined
> >>>>
> >>>> So. What should be the correct format of the input data? SAC or mseed?
> >>>> and how can I solve this time problem?
> >>> Currently, only the archive formats defined as :
> >>>
> >>> data_structure['SDS'] =
> >>> "YEAR/NET/STA/CHAN.TYPE/NET.STA.LOC.CHAN.TYPE.YEAR.DAY"
> >>> data_structure['BUD'] = "NET/STA/STA.NET.LOC.CHAN.YEAR.DAY"
> >>> data_structure['IDDS'] =
> >>> "YEAR/NET/STA/CHAN.TYPE/DAY/NET.STA.LOC.CHAN.TYPE.YEAR.DAY.HOUR"
> >>> data_structure['PDF'] =
> >>> "YEAR/STA/CHAN.TYPE/NET.STA.LOC.CHAN.TYPE.YEAR.DAY"
> >>>
> >>>
> >>> are known by MSNoise. You have to define your own format in the
> >>> data_structures.py file
> >>>
> >>> data_structure['NAME'] = "NET/STA/STA.NET.LOC.CHAN.YEAR.DAY"
> >>>
> >>> Once done, the "s002populate_station_table.py" script should find your
> >>> stations/network and the rest of the workflow should work fine.
> >>>
> >>> Let me know how it goes,
> >>>
> >>> Thomas
> >>>
> >>>> Sorry about the question, but I?ll appreciate the help to solve it and
> >>> continue using my data.
> >>>> Esteban
> >>>>
> >>>>
> >>>> On Nov 18, 2013, at 4:00 AM, msnoise-request(a)mailman-as.oma.be wrote:
> >>>>
> >>>>> Send MSNoise mailing list submissions to
> >>>>> msnoise(a)mailman-as.oma.be
> >>>>>
> >>>>> To subscribe or unsubscribe via the World Wide Web, visit
> >>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>> or, via email, send a message with subject or body 'help' to
> >>>>> msnoise-request(a)mailman-as.oma.be
> >>>>>
> >>>>> You can reach the person managing the list at
> >>>>> msnoise-owner(a)mailman-as.oma.be
> >>>>>
> >>>>> When replying, please edit your Subject line so it is more specific
> >>>>> than "Re: Contents of MSNoise digest..."
> >>>>>
> >>>>>
> >>>>> Today's Topics:
> >>>>>
> >>>>> 1. Re: MSNoise Digest, Vol 2, Issue 4 (Thomas Lecocq)
> >>>>>
> >>>>>
> >>>>>
> ----------------------------------------------------------------------
> >>>>>
> >>>>> Message: 1
> >>>>> Date: Mon, 18 Nov 2013 10:20:00 +0100
> >>>>> From: Thomas Lecocq <thomas.lecocq(a)oma.be>
> >>>>> To: msnoise(a)mailman-as.oma.be
> >>>>> Subject: Re: [MSNoise] MSNoise Digest, Vol 2, Issue 4
> >>>>> Message-ID: <5289DBC0.7070502(a)oma.be>
> >>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>>>>
> >>>>> Hi all,
> >>>>>
> >>>>> It seems to be a OSX-specific problem, I'll report it to the Anaconda
> >>>>> guys to try to debug...
> >>>>>
> >>>>> Sorry about that,
> >>>>>
> >>>>> Thomas
> >>>>>
> >>>>> Le 15/11/2013 20:37, Esteban Chaves a ?crit :
> >>>>>> Hi All,
> >>>>>>
> >>>>>> I got the same problem. I did install my MSNoise and dependencies in
> >>> MAC
> >>>>>> OSx 10.9.
> >>>>>> and when I typed:
> >>>>>>
> >>>>>>>> python s001configurator.py I got this:
> >>>>>> Qt internal error: qt_menu.nib could not be loaded. The .nib file
> >>> should be
> >>>>>> placed in QtGui.framework/Versions/Current/Resources/ or in the
> >>> resources
> >>>>>> directory of your application bundle.
> >>>>>>
> >>>>>> Abort trap: 6
> >>>>>>
> >>>>>>
> >>>>>> I'm using Anaconda, and after reading trough the web my solution was
> >>>>>> using pythonw instead of python, but when the GUI from the
> >> Configurator
> >>>>>> appears, I
> >>>>>> can't
> >>>>>> see all the corresponding spaces. For example I can't change the
> path
> >>> for
> >>>>>> my data, because I can't see the space there. Then after any change
> I
> >>> made
> >>>>>> I got the same message:
> >>>>>>
> >>>>>> Updating Config Table
> >>>>>>
> >>>>>> Updating Station Table
> >>>>>>
> >>>>>> Updating Filter Table
> >>>>>>
> >>>>>> Done !
> >>>>>>
> >>>>>> //anaconda/bin/pythonw: line 2: 6112 Segmentation fault: 11
> >>>>>> //anaconda/python.app/Contents/MacOS/python $@
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Esteban.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Esteban J. Chaves
> >>>>>> PhD Student in Seismology
> >>>>>> Earth and Planetary Sciences
> >>>>>> Earth and Marine Science Building
> >>>>>> office C317B
> >>>>>> University of California, Santa Cruz
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Thu, Nov 14, 2013 at 4:00 AM, <msnoise-request(a)mailman-as.oma.be
> >
> >>> wrote:
> >>>>>>> Send MSNoise mailing list submissions to
> >>>>>>> msnoise(a)mailman-as.oma.be
> >>>>>>>
> >>>>>>> To subscribe or unsubscribe via the World Wide Web, visit
> >>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>> or, via email, send a message with subject or body 'help' to
> >>>>>>> msnoise-request(a)mailman-as.oma.be
> >>>>>>>
> >>>>>>> You can reach the person managing the list at
> >>>>>>> msnoise-owner(a)mailman-as.oma.be
> >>>>>>>
> >>>>>>> When replying, please edit your Subject line so it is more specific
> >>>>>>> than "Re: Contents of MSNoise digest..."
> >>>>>>>
> >>>>>>>
> >>>>>>> Today's Topics:
> >>>>>>>
> >>>>>>> 1. Segmentation fault when running s001configurator.py (Wang,
> >>> Xiao)
> >>>>>>>
> >>>>>>>
> >> ----------------------------------------------------------------------
> >>>>>>> Message: 1
> >>>>>>> Date: Wed, 13 Nov 2013 14:57:11 +0000
> >>>>>>> From: "Wang, Xiao" <Xiao.Wang(a)liverpool.ac.uk>
> >>>>>>> To: "msnoise(a)mailman-as.oma.be" <msnoise(a)mailman-as.oma.be>
> >>>>>>> Subject: [MSNoise] Segmentation fault when running
> >> s001configurator.py
> >>>>>>> Message-ID:
> >>>>>>> <
> >>> AFD7E1C355F302448EFE8C6EAE6FB563AEBB7335(a)CHEXMBX1.livad.liv.ac.uk
> >>>>>>> Content-Type: text/plain; charset="iso-8859-1"
> >>>>>>>
> >>>>>>> Not every time, but sometime I encountered "Segmentation fault"
> when
> >>>>>>> running s001configurator.py. The database works fine and can be
> >>> updated
> >>>>>>> properly when the problem happens. I am using msnoise 1.2.
> >>>>>>>
> >>>>>>> Following is the output of the problem:
> >>>>>>>
> >>>>>>> student@seisapp:~/msnoise$ python s001configurator.py
> >>>>>>> Updating Config Table
> >>>>>>> Updating Station Table
> >>>>>>> Updating Filter Table
> >>>>>>> Done !
> >>>>>>> Segmentation fault
> >>>>>>>
> >>>>>>> Regards,
> >>>>>>>
> >>>>>>> Xiao
> >>>>>>>
> >>>>>>>
> >>>>>>> ------------------------------
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> MSNoise mailing list
> >>>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>>>
> >>>>>>>
> >>>>>>> End of MSNoise Digest, Vol 2, Issue 4
> >>>>>>> *************************************
> >>>>>>>
> >>>>>> _______________________________________________
> >>>>>> MSNoise mailing list
> >>>>>> MSNoise(a)mailman-as.oma.be
> >>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>
> >>>>> ------------------------------
> >>>>>
> >>>>> _______________________________________________
> >>>>> MSNoise mailing list
> >>>>> MSNoise(a)mailman-as.oma.be
> >>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>>>
> >>>>>
> >>>>> End of MSNoise Digest, Vol 2, Issue 6
> >>>>> *************************************
> >>>> _______________________________________________
> >>>> MSNoise mailing list
> >>>> MSNoise(a)mailman-as.oma.be
> >>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>> _______________________________________________
> >>> MSNoise mailing list
> >>> MSNoise(a)mailman-as.oma.be
> >>> http://mailman-as.oma.be/mailman/listinfo/msnoise
> >>>
> >>