Hello EW Community

192 views
Skip to first unread message

Francisco Hernandez

unread,
Jul 15, 2012, 3:27:14 AM7/15/12
to earthwo...@googlegroups.com
Hello All,

My name is Francisco, I'm new here. I have been tasked with setting up a Earthworm System for the Puerto Rico Strong Motion Program (PRSMP). I have installed Earthworm 7.5 in a test machine (32-bit, linux 2.6.37.6-0.11-default). So far I've been doing ok, most of the modules, have been configured and run with little problems, which I've been able to solve. There are a few things I haven't been able to solve so I decided to ask here.

One of them is with the module ew2mseed,
I've managed to setup a daily archiving system with Archman, it works flawlessly and churns out a daily SAC, however I have been trying to make ew2mseed work for the past few days but All I've managed is huge log files with

20120715_UTC_06:52:30 Failed to ms_pack_data() for PRTS PR HNZ 2012Jul14    3 38.00
20120715_UTC_06:52:30 No MSEED blocks saved, move time pointer by 1 sample
20120715_UTC_06:52:30 CreateMseed <1> PRTS PR HNZ: No MSEED records written this time

I don't know what I am doing wrong...

Second, as the name states we work with strong motion, is there any way to work with Gmew that doesn't have to go through Hyp2000, would it be enough to have trigger messages? I don't have many details as to how it works, beyond that of reading its page.

The third one has to do with orb2ew, but that one I'll post in the Antelope User Group, as it is most likely the antelope program that is not working...

Thank you for any help you can offer!
Francisco Hernandez

Ruben Soares Luís

unread,
Jul 15, 2012, 3:43:04 AM7/15/12
to earthwo...@googlegroups.com
Ola Francisco,

Welcome to the forum. Regarding your ew2mseed configuration, can you send in the configuration file?

regards,
Ruben

Francisco Hernandez

--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
 
To post to this group, send an email to earthwo...@googlegroups.com
 
To unsubscribe from this group, send an email to
earthworm_for...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en

Paul Friberg

unread,
Jul 15, 2012, 7:49:47 AM7/15/12
to earthwo...@googlegroups.com
Hi Francisco,

Make sure you recompile the ew2mseed for your platform since there are 32 vs 64 bit issues that we have seen crop up.

Also, there is a way to get gmew using triggers now, but it is still experimental. The module to look at is ewthresh, which fires a TYPE_THRESHALARM which can be read by other modules (ewnotify), that can launch other actions using the message
TYPE_ACTIVATEMODULE, and which gmew can now be configured to understand. Note that if you go this path, you obviously won't have any knowledge of distance to the cause of the shaking, but you will get peak shaking values. I can explain better in a side conversation since this is a pretty bit of esoteric strong motion processing stream that we are doing for a USGS project.

Cheers,

Paul
--
===================================
Paul Friberg   p.fr...@isti.com
ISTI==Instrumental Software Technologies, Inc.
Phone 845.256.9290 FAX 845.256.9299

an...@volcanbaru.com

unread,
Jul 15, 2012, 9:19:55 AM7/15/12
to earthwo...@googlegroups.com
Hi Pual,

Buenos dias.

If you do start a conversation about the processing stream please keep
it on the list. I would be interested in following it.

Saludos,

Angel
> <http://folkworm.ceri.memphis.edu/ew-doc/ovr/gmew_ovr.html>.
>
> The third one has to do with orb2ew, but that one I'll post in
> the Antelope User Group, as it is most likely the antelope
> program that is not working...
>
> Thank you for any help you can offer!
> Francisco Hernandez
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to
> earthwo...@googlegroups.com
> <mailto:earthwo...@googlegroups.com>
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
> <mailto:earthworm_forum%2Bunsu...@googlegroups.com>
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to
> earthwo...@googlegroups.com
> <mailto:earthwo...@googlegroups.com>
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
> <mailto:earthworm_forum%2Bunsu...@googlegroups.com>
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en
>
>
>
>
> --
> ===================================
> Paul Friberg p.fr...@isti.com <mailto:p.fr...@isti.com>
> ISTI==Instrumental Software Technologies, Inc.
> Phone 845.256.9290 FAX 845.256.9299

Francisco Hernandez

unread,
Jul 15, 2012, 5:15:54 PM7/15/12
to earthwo...@googlegroups.com
No problem


On Sunday, July 15, 2012 3:43:04 AM UTC-4, Ruben Luís wrote:
Ola Francisco,

Welcome to the forum. Regarding your ew2mseed configuration, can you send in the configuration file?

regards,
Ruben

On Sun, Jul 15, 2012 at 4:27 PM, Francisco Hernandez <fjhern...@gmail.com> wrote:
Hello All,

My name is Francisco, I'm new here. I have been tasked with setting up a Earthworm System for the Puerto Rico Strong Motion Program (PRSMP). I have installed Earthworm 7.5 in a test machine (32-bit, linux 2.6.37.6-0.11-default). So far I've been doing ok, most of the modules, have been configured and run with little problems, which I've been able to solve. There are a few things I haven't been able to solve so I decided to ask here.

One of them is with the module ew2mseed,
I've managed to setup a daily archiving system with Archman, it works flawlessly and churns out a daily SAC, however I have been trying to make ew2mseed work for the past few days but All I've managed is huge log files with

20120715_UTC_06:52:30 Failed to ms_pack_data() for PRTS PR HNZ 2012Jul14    3 38.00
20120715_UTC_06:52:30 No MSEED blocks saved, move time pointer by 1 sample
20120715_UTC_06:52:30 CreateMseed <1> PRTS PR HNZ: No MSEED records written this time

I don't know what I am doing wrong...

Second, as the name states we work with strong motion, is there any way to work with Gmew that doesn't have to go through Hyp2000, would it be enough to have trigger messages? I don't have many details as to how it works, beyond that of reading its page.

The third one has to do with orb2ew, but that one I'll post in the Antelope User Group, as it is most likely the antelope program that is not working...

Thank you for any help you can offer!
Francisco Hernandez

--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
 
To post to this group, send an email to earthworm_forum@googlegroups.com

 
To unsubscribe from this group, send an email to
ew2mseed.d

Francisco Hernandez

unread,
Jul 15, 2012, 8:03:54 PM7/15/12
to earthwo...@googlegroups.com
Hello Paul,

I would like to know more about this type of processing stream since I don't know much about strong motion calculations, I am a geolgist, but very interested in geophysics. I am in studying for my master and understanding these might help in my thesis (it is about seismic noise processing) as well. 

Thanks! 

Jean-Marie SAUREL

unread,
Jul 16, 2012, 7:49:36 AM7/16/12
to earthwo...@googlegroups.com
Hello everyone,

There is another solution : use the module trig2arc, which "translate" a
trigger message from the Carl chain into a hyp2000_arc message.
Of course, as says Paul, you will not have the hypocenter and thus a
correct distance, but you should get PGA and PGV.

Regards.

Jean-Marie.

Le 15/07/2012 12:49, Paul Friberg a �crit :
> page <http://folkworm.ceri.memphis.edu/ew-doc/ovr/gmew_ovr.html>.
>
> The third one has to do with orb2ew, but that one I'll post in
> the Antelope User Group, as it is most likely the antelope
> program that is not working...
>
> Thank you for any help you can offer!
> Francisco Hernandez
>
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to
> earthwo...@googlegroups.com
> <mailto:earthwo...@googlegroups.com>
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
> <mailto:earthworm_forum%2Bunsu...@googlegroups.com>
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to
> earthwo...@googlegroups.com
> <mailto:earthwo...@googlegroups.com>
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
> <mailto:earthworm_forum%2Bunsu...@googlegroups.com>
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en
>
>
>
>
> --
> ===================================
> Paul Friberg p.fr...@isti.com <mailto:p.fr...@isti.com>
> ISTI==Instrumental Software Technologies, Inc.
> Phone 845.256.9290 FAX 845.256.9299
>
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to earthwo...@googlegroups.com
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en


--
--------------------------------------
Institut de Physique du Globe de Paris
Observatoire Volcanologique et Sismologique de Martinique
Morne des Cadets
97250 Fonds St Denis
0596784141
Martinique - FWI

Paul Friberg

unread,
Jul 16, 2012, 9:50:40 AM7/16/12
to earthwo...@googlegroups.com
That is correct, trig2arc will create an HYP2000ARC message that can trigger gmew, but I am not so sure that will work since the stock configuration of gmew (which creates strong-motion shaking values peak accel, peak velocity, peak displacement, and response spectral values) relies on an earthquake location to compute where to do the peak search. It may be possible, but I have never tried it myself.

For a USGS project we created ewthresh (mentioned earlier) which is a simple threshold exceedance monitor that sends out a TYPE_THRESHALARM message which can be digested by other modules (ewnotify for now). We also modified gmew to allow more response spectral acceleration (RSA) periods to be computed and to trigger without an HYP2000ARC earthquake message. As mentioned in a prior email, gmew will now trigger using a ACTIVATEMODULE type message. This message is new to Earthworm and provides a way for one module to activate some action in another EW module. The payload of the ASCII message is the MODULE ID of the module which should jump to action and any arguments it should handle. Inside ewnotify you specify the module to be activated in the .d file using the ScriptModule parameter and when it receives an THRESHALARM message (or a few other alarms) it jumps to action and sends out the ACTIVATEMODULE message and spits out an email to specified recipients. In addition, the activate_scripts Earthworm module also receives this ACTIVATEMODULE message and can launch scripts on the command line with the arguments provided in the payload of the messsage. We think it's a pretty cool and versatile design to do new things with Earthworm that might not be built-in. Think about how you can use this for your projects, and by all means, share what you do so others can benefit. Keep paying it forward.

Have fun with this new capability.

Cheers,

Paul

On Mon, Jul 16, 2012 at 7:49 AM, Jean-Marie SAUREL <sau...@ipgp.fr> wrote:
Hello everyone,

There is another solution : use the module trig2arc, which "translate" a trigger message from the Carl chain into a hyp2000_arc message.
Of course, as says Paul, you will not have the hypocenter and thus a correct distance, but you should get PGA and PGV.

Regards.

Jean-Marie.

Le 15/07/2012 12:49, Paul Friberg a écrit :
Hi Francisco,

Make sure you recompile the ew2mseed for your platform since there are
32 vs 64 bit issues that we have seen crop up.

Also, there is a way to get gmew using triggers now, but it is still
experimental. The module to look at is ewthresh, which fires a
TYPE_THRESHALARM which can be read by other modules (ewnotify), that can
launch other actions using the message
TYPE_ACTIVATEMODULE, and which gmew can now be configured to understand.
Note that if you go this path, you obviously won't have any knowledge of
distance to the cause of the shaking, but you will get peak shaking
values. I can explain better in a side conversation since this is a
pretty bit of esoteric strong motion processing stream that we are doing
for a USGS project.

Cheers,

Paul



On Sun, Jul 15, 2012 at 3:43 AM, Ruben Soares Luís
<ruben....@gmail.com <mailto:ruben.so.luis@gmail.com>> wrote:

    Ola Francisco,

    Welcome to the forum. Regarding your ew2mseed configuration, can you
    send in the configuration file?

    regards,
    Ruben


    On Sun, Jul 15, 2012 at 4:27 PM, Francisco Hernandez


        To unsubscribe from this group, send an email to


        For more options, visit this group at
        http://groups.google.com/group/earthworm_forum?hl=en


    --
    You received this message because you are subscribed to the Google
    Groups "Earthworm Community Forum" group.

    To post to this group, send an email to


    To unsubscribe from this group, send an email to
    <mailto:earthworm_forum%2Bunsu...@googlegroups.com>


    For more options, visit this group at
    http://groups.google.com/group/earthworm_forum?hl=en




--
===================================
Paul Friberg p.fr...@isti.com <mailto:p.fr...@isti.com>

ISTI==Instrumental Software Technologies, Inc.
Phone 845.256.9290 FAX 845.256.9299

--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.

To post to this group, send an email to earthworm_forum@googlegroups.com


To unsubscribe from this group, send an email to


For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en


--
--------------------------------------
Institut de Physique du Globe de Paris
Observatoire Volcanologique et Sismologique de Martinique
Morne des Cadets
97250 Fonds St Denis
0596784141
Martinique - FWI
--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.

To post to this group, send an email to earthworm_forum@googlegroups.com


To unsubscribe from this group, send an email to


For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en



--
===================================
Paul Friberg   p.fr...@isti.com

Francisco Hernandez

unread,
Jul 16, 2012, 12:49:33 PM7/16/12
to earthwo...@googlegroups.com


Ok then, while I figure out that proccessing stream better. I have created a test event by using some of the evt files from an event, I created a sac file from them and then when I passed them to a tank file and demuxed them I get this when I played them:

packet's start (2010/05/16 05:15:58.00) is before end of tank's last good packet received time (2010/05/16 05:16:50.99)

any way to get them in order? also to get back on topic a bit, I thought all modules were compiled for 32-bit, I used the default flags for compiling ew2mseed is there a way to make it 64 or 32 bit specific?

Stefan Lisowski

unread,
Jul 16, 2012, 4:44:59 PM7/16/12
to earthwo...@googlegroups.com
If you're already running on a 32 bit system you should be fine, and
shouldn't have to worry about 64 bit issues. (64 bit users will need to
install 32 bit-compatible libraries to compile EW with -m32)

You should get the latest version of ew2mseed from the Subversion source
code repository though. The main developer on ew2mseed Ilya Dricker has
made some fixes recently.

Typically it's recommended to download a specific release version from
http://www.isti2.com/ew/distribution/ or
http://folkworm.ceri.memphis.edu/ew-dist/
but if you are working with a module whose fixes haven't made it to an
official release yet like ew2mseed right now, you can do a subversion
checkout like so:

svn checkout svn://svn.isti.com/earthworm/trunk earthworm

Best to do a full compile, and then try your newly compiled version of
ew2mseed.

- Stefan
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to earthwo...@googlegroups.com
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com

Francisco Hernandez

unread,
Jul 16, 2012, 4:49:11 PM7/16/12
to earthwo...@googlegroups.com
Ok thanks Stefan! I will download the source from the svn and compile.

Managed to get the tankplayer to work as well. I revised the Memphis example and got it to work, forgot the SendLate argument.  
> To post to this group, send an email to earthworm_forum@googlegroups.com
>
> To unsubscribe from this group, send an email to
Reply all
Reply to author
Forward
0 new messages