swarm 2.3.2.3 with seedlink server

349 views
Skip to first unread message

Milton Plasencia

unread,
Jan 31, 2014, 5:12:07 AM1/31/14
to earthwo...@googlegroups.com

Hi,

I have a problem to view the waveforms using swarm v 2.3.2.3.
The scenario is: i have a Guralp NAM with seedlink server, so using
swarm seedlink client i connect to NAM server, but i only see
the first channel, all other channels is missing.

If i use slinktool -Q IP-NAM:18000 -vv i see all channels normally.

Here the swarm output:

macton:swarm-2.3.2.3 milton$ ./swarm.sh 
2014-01-31 10:45:18: (FINE) Swarm version/date: 2.3.2.3/2013-03-25 12:15:23
2014-01-31 10:45:18: (FINE) JNLP: false
2014-01-31 10:45:18: (FINE) java.version: 1.6.0_65
2014-01-31 10:45:18: (FINE) maximum heap size: 252.813 MB
2014-01-31 10:45:18: (FINE) current directory: /Users/milton/earthworm/swarm-2.3.2.3
2014-01-31 10:45:18: (FINE) user.home: /Users/milton
2014-01-31 10:45:18: (FINE) using config: gov.usgs.swarm.Swarm
2014-01-31 10:45:19: (WARNING) 
2014-01-31 10:45:19: (FINEST) map scale: 75979.93251342252
2014-01-31 10:45:19: (FINEST) center: -180.0 0.0
2014-01-31 10:46:34: (FINE) SeedLink: SLClient v1.2.1X00 (29Jan2013)
Copyright ? 2013 Anthony Lomax (www.alomax.net)
SLClient comes with ABSOLUTELY NO WARRANTY
2014-01-31 10:47:20: (INFO) gov.usgs.swarm.data.SeedLinkClient(2,Thread-10): 140.105.68.27:18000 -S GR_1073:0BSOH.D -t 2014,01,30,09,17,21
2014-01-31 10:47:20: (FINER) gulper started for 1073 SOH GR 0B 
WARNING: character ' ' (value=32) is not acceptable for Blockette 999 field 6
Expected one of:
UpperCase
Digit

CORRECTION: substituting with character '0'
2014-01-31 10:47:23: (INFO) SeedLink: unexpected data received: G 1073
2014-01-31 10:47:23: (WARNING) gov.usgs.swarm.data.SeedLinkClient(2,Thread-10): packetHandler: could create wave
 ^------- Exception: edu.iris.dmc.seedcodec.UnsupportedCompressionType/Type 0 is not supported at this time.
  ^---- Stack Trace: edu.iris.dmc.seedcodec.Codec.decompress/Codec.java:133
  ^---- Stack Trace: edu.iris.Fissures.seed.container.Waveform.getDecompressedData/Waveform.java:122
  ^---- Stack Trace: edu.iris.Fissures.seed.container.Waveform.getDecodedIntegers/Waveform.java:135
  ^---- Stack Trace: edu.iris.Fissures.seed.container.Waveform.getDecodedIntegers/Waveform.java:143
  ^---- Stack Trace: gov.usgs.swarm.data.SeedLinkClient.packetHandler/SeedLinkClient.java:477
  ^---- Stack Trace: gov.usgs.swarm.data.orfeus.BaseSLClient.oldrun/BaseSLClient.java:296
  ^---- Stack Trace: gov.usgs.swarm.data.orfeus.BaseSLClient.run/BaseSLClient.java:259
  ^---- Stack Trace: gov.usgs.swarm.data.SeedLinkClient.run/SeedLinkClient.java:508
  ^---- Stack Trace: java.lang.Thread.run/Thread.java:695
2014-01-31 10:47:29: (FINEST) gulper killed


swarm screen:

Any suggestions.

Cheers,

Milton P. Plasencia Linares



Paul Friberg

unread,
Jan 31, 2014, 8:01:02 AM1/31/14
to Earthworm Community Forum
Milton,

Type 0 is ASCII text and the SEEDLINK plugin for SWARM only supports miniseed packets. We will have to upgrade the plugin to ignore any non-handled types better. This is the first time we have seen this message ourselves. We will work with Tom Parker at AVO to upgrade the plugin ASAP.

Cheers,

Paul


--
--
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
 
---
You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_for...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
===================================
Paul Friberg   p.fr...@isti.com
ISTI==Instrumental Software Technologies, Inc.
Phone 845.256.9290 FAX 845.256.9299
Screen Shot 2014-01-31 at 11.10.17 AM.png

Jean-Marie SAUREL

unread,
Jan 31, 2014, 8:55:55 AM1/31/14
to earthwo...@googlegroups.com
Hello Paul, Milton,

Looking at both the log output, some java code from swarm and my SEED
manual, I have some questions about this little problem, just to better
understand what has gone wrong.

Blockette 999 seems to be the "Fixed Section of Data Header". Thus
field 6 should be the "Channel identifier", which, as the log warn us,
should be made of 3 upper-case letters or digits. According to the SEED
manual, this is mandatory.
If I'm correct on this point, this would mean Guralp Seedlink server
doesn't respect this part of SEED manual for this SOH channel.

At first I was then confused by the second log error
(UnsupportedCompressionType/Type 0 is not supported at this time),
because I though it was the same '0' value as the one replaced in the
channel name.
I think now that this '0' value refers to field 3 (Encoding Format) of
blockette 1000 (Data Only SEED Blockette). Am I correct ?
If yes, this is correct and you can have ASCII miniseed data (not
common, but possible). Yet, as Paul said, it has to be thrown away when
speaking of displaying waveforms.


Regards.

Jean-Marie SAUREL.

Le 31/01/2014 13:01, Paul Friberg a écrit :
> Milton,
>
> Type 0 is ASCII text and the SEEDLINK plugin for SWARM only supports
> miniseed packets. We will have to upgrade the plugin to ignore any
> non-handled types better. This is the first time we have seen this
> message ourselves. We will work with Tom Parker at AVO to upgrade the
> plugin ASAP.
>
> Cheers,
>
> Paul
>
>
> On Fri, Jan 31, 2014 at 5:12 AM, Milton Plasencia <mppla...@gmail.com
> <mailto:mppla...@gmail.com>> wrote:
>
>
> Hi,
>
> I have a problem to view the waveforms using swarm v 2.3.2.3.
> The scenario is: i have a Guralp NAM with seedlink server, so using
> swarm seedlink client i connect to NAM server, but i only see
> the first channel, all other channels is missing.
>
> If i use slinktool -Q IP-NAM:18000 -vv i see all channels normally.
>
> Here the swarm output:
>
> macton:swarm-2.3.2.3 milton$ ./swarm.sh
> 2014-01-31 10:45:18: (FINE) Swarm version/date: 2.3.2.3/2013-03-25
> <http://2.3.2.3/2013-03-25> 12:15:23
> 2014-01-31 10:45:18: (FINE) JNLP: false
> 2014-01-31 10:45:18: (FINE) java.version: 1.6.0_65
> 2014-01-31 10:45:18: (FINE) maximum heap size: 252.813 MB
> 2014-01-31 10:45:18: (FINE) current directory:
> /Users/milton/earthworm/swarm-2.3.2.3
> 2014-01-31 10:45:18: (FINE) user.home: /Users/milton
> 2014-01-31 10:45:18: (FINE) using config: gov.usgs.swarm.Swarm
> 2014-01-31 10:45:19: (WARNING)
> 2014-01-31 10:45:19: (FINEST) map scale: 75979.93251342252
> 2014-01-31 10:45:19: (FINEST) center: -180.0 0.0
> 2014-01-31 10:46:34: (FINE) SeedLink: SLClient v1.2.1X00 (29Jan2013)
> Copyright ? 2013 Anthony Lomax (www.alomax.net <http://www.alomax.net>)
> SLClient comes with ABSOLUTELY NO WARRANTY
> 2014-01-31 10:47:20: (INFO)
> gov.usgs.swarm.data.SeedLinkClient(2,Thread-10): 140.105.68.27:18000
> <http://140.105.68.27:18000> -S GR_1073:0BSOH.D -t 2014,01,30,09,17,21
> Any suggestions.
>
> Cheers,
>
> Milton P. Plasencia Linares
> mppla...@gmail.com <mailto:mppla...@gmail.com>
>
>
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it,
> send an email to earthworm_for...@googlegroups.com
> <mailto:earthworm_forum%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> ===================================
> 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
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to earthworm_for...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


--
--------------------------------------
ICG-CARIBE EWS WG1 chair
Institut de Physique du Globe de Paris
Observatoire Volcanologique et Sismologique de Martinique
Responsable technique
Morne des Cadets
97250 Fonds St Denis
0596784141
Martinique - FWI

Milton Plasencia

unread,
Jan 31, 2014, 9:42:00 AM1/31/14
to earthwo...@googlegroups.com
Thanks a lot Paul and Jean-Marie,

Ok, i wait for the new correct version of swarm.

i am in tune,

M.


* * * * * * * * * * * * * * * * * * * * * * *
Milton P. PLASENCIA LINARES

Centro di Ricerche Sismologiche (CRS)
OGS - Istituto Nazionale di Oceanografia 
           e di Geofisica Sperimentale 

Borgo Grotta Gigante 42/C
(34010) Sgonico - Trieste - Italia
Tel: +39 040 2140 141 (Udine)
Tel: +39 040 2140 256 (Trieste)
Cel.: +39 331 6481 935


ASAIN (Antarctic Seismographic Argentinean Italian Network)
*********************************










<Screen Shot 2014-01-31 at 11.10.17 AM.png>

Jean-Marie SAUREL

unread,
Jan 31, 2014, 10:20:07 AM1/31/14
to earthwo...@googlegroups.com
Milton,

As a quick turn-around, can you de-activate the presence of SOH channels
in the seedlink server from the Guralp side ?
Just allow only the seismic channels if possible. That would make swarm
working right now.

Jean-Marie.

Le 31/01/2014 14:42, Milton Plasencia a écrit :
> Thanks a lot Paul and Jean-Marie,
>
> Ok, i wait for the new correct version of swarm.
>
> i am in tune,
>
> M.
>
>
> * * * * * * * * * * * * * * * * * * * * * * *
> Milton P. PLASENCIA LINARES
>
> Centro di Ricerche Sismologiche (CRS)
> OGS - Istituto Nazionale di Oceanografia
> e di Geofisica Sperimentale
>
> Borgo Grotta Gigante 42/C
> (34010) Sgonico - Trieste - Italia
> Tel: +39 040 2140 141 (Udine)
> Tel: +39 040 2140 256 (Trieste)
> Cel.: +39 331 6481 935
> Fax: +39-040-327307
>
> E-mail: mplas...@inogs.it <mailto:mplas...@inogs.it>
>
> ASAIN (Antarctic Seismographic Argentinean Italian Network)
> *********************************
>
>
>
>
>
>
>
>
>
>
> On Jan 31, 2014, at 2:01 PM, Paul Friberg <p.fr...@gmail.com
> <mailto:p.fr...@gmail.com>> wrote:
>
>> Milton,
>>
>> Type 0 is ASCII text and the SEEDLINK plugin for SWARM only supports
>> miniseed packets. We will have to upgrade the plugin to ignore any
>> non-handled types better. This is the first time we have seen this
>> message ourselves. We will work with Tom Parker at AVO to upgrade the
>> plugin ASAP.
>>
>> Cheers,
>>
>> Paul
>>
>>
>> On Fri, Jan 31, 2014 at 5:12 AM, Milton Plasencia
>> <mppla...@gmail.com <mailto:mppla...@gmail.com>> wrote:
>>
>>
>> Hi,
>>
>> I have a problem to view the waveforms using swarm v 2.3.2.3.
>> The scenario is: i have a Guralp NAM with seedlink server, so using
>> swarm seedlink client i connect to NAM server, but i only see
>> the first channel, all other channels is missing.
>>
>> If i use slinktool -Q IP-NAM:18000 -vv i see all channels normally.
>>
>> Here the swarm output:
>>
>> macton:swarm-2.3.2.3 milton$ ./swarm.sh
>> 2014-01-31 10:45:18: (FINE) Swarm version/date: 2.3.2.3/2013-03-25
>> <http://2.3.2.3/2013-03-25> 12:15:23
>> 2014-01-31 10:45:18: (FINE) JNLP: false
>> 2014-01-31 10:45:18: (FINE) java.version: 1.6.0_65
>> 2014-01-31 10:45:18: (FINE) maximum heap size: 252.813 MB
>> 2014-01-31 10:45:18: (FINE) current directory:
>> /Users/milton/earthworm/swarm-2.3.2.3
>> 2014-01-31 10:45:18: (FINE) user.home: /Users/milton
>> 2014-01-31 10:45:18: (FINE) using config: gov.usgs.swarm.Swarm
>> 2014-01-31 10:45:19: (WARNING)
>> 2014-01-31 10:45:19: (FINEST) map scale: 75979.93251342252
>> 2014-01-31 10:45:19: (FINEST) center: -180.0 0.0
>> 2014-01-31 10:46:34: (FINE) SeedLink: SLClient v1.2.1X00 (29Jan2013)
>> Copyright ? 2013 Anthony Lomax (www.alomax.net
>> <http://www.alomax.net/>)
>> SLClient comes with ABSOLUTELY NO WARRANTY
>> 2014-01-31 10:47:20: (INFO)
>> gov.usgs.swarm.data.SeedLinkClient(2,Thread-10):
>> 140.105.68.27:18000 <http://140.105.68.27:18000/> -S
>> mppla...@gmail.com <mailto:mppla...@gmail.com>
>>
>>
>>
>>
>> --
>> --
>> 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 unsubscribe from this group and stop receiving emails from it,
>> send an email to earthworm_for...@googlegroups.com
>> <mailto:earthworm_forum%2Bunsu...@googlegroups.com>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>>
>> --
>> ===================================
>> 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 <mailto:earthwo...@googlegroups.com>
>>
>> To unsubscribe from this group, send an email to
>> earthworm_for...@googlegroups.com
>> <mailto:earthworm_for...@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 unsubscribe from this group and stop receiving emails from it, send
>> an email to earthworm_for...@googlegroups.com
>> <mailto:earthworm_for...@googlegroups.com>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to earthworm_for...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


--

Milton Plasencia

unread,
Jan 31, 2014, 10:28:32 AM1/31/14
to earthwo...@googlegroups.com
Jean-Marie,

Good idea, i will try generate another seedlink instance on the NAM, without SOHs,
if it is possible.

The actual seedlink server (with SOH) is in production, sending the real time data to IRIS, so
i prefer not touch it.

Cheers,

Milton P. Plasencia Linares
mppla...@gmail.com



Philip Crotwell

unread,
Jan 31, 2014, 10:56:07 AM1/31/14
to earthworm_forum

Hi

This error message comes from my seedCodec library, which is used internally by swarm. You are correct in the type 0 referring to compression and the fix is to check before asking to decompress. Currently seedCodec supports the "native" types 1, 2, 3, 4, and 5 as well as Steim1=10, Steim2=11, CDSN=16, SRO=30, and DWSSN=32. Anything else will generate a UnsupportedCompressionType exception.

Also, at least in the earthworm svn repo, the seedCodec version is 1.0.6, which is a bit old. Current version is 1.0.10, so as long as you are making changes it might be good to upgrade as there have been a few bug fixes.

Let me know if I can help,
Philip

Philip Crotwell

unread,
Jan 31, 2014, 11:04:03 AM1/31/14
to earthworm_forum

One other thing I just remembered, the latest version of seedCodec checks for the number of points when doing the decompression, and always returns a zero length array of integers if the number of points is zero, regardless of the compression type. I am not sure if this is what is being encountered in this case, but often non-data mseed records will have both numPoints=0 and compression=0. If so, then you may be able to fix this simply by upgrading the seedCodec jar in swarm.

Philip

Milton Plasencia

unread,
Jan 31, 2014, 11:19:01 AM1/31/14
to earthwo...@googlegroups.com
I download the seedCodec-1.0.10.jar, put it in the lib directory of swarm,
move the seedCodec-1.0.6 in other dir. and then run swarm, but without success,
the error is the same.

If i forget some things, let me know.

M.

* * * * * * * * * * * * * * * * * * * * * * *
Milton P. PLASENCIA LINARES

Centro di Ricerche Sismologiche (CRS)
OGS - Istituto Nazionale di Oceanografia 
           e di Geofisica Sperimentale 

Borgo Grotta Gigante 42/C
(34010) Sgonico - Trieste - Italia
Tel: +39 040 2140 141 (Udine)
Tel: +39 040 2140 256 (Trieste)
Cel.: +39 331 6481 935


Philip Crotwell

unread,
Jan 31, 2014, 11:48:04 AM1/31/14
to earthworm_forum

I guess that the number of points is non-zero. Oh well, sorry.

Philip
Reply all
Reply to author
Forward
0 new messages