[webservices] Unreadable file format for miniseed data from web services

Chad Trabant chad at iris.washington.edu
Tue Feb 15 14:57:03 PST 2011


Dear Alessia,

I collected the data using the URL request you provided and found nothing wrong with the miniseed.

My suspicion is that qmerge and sdrsplit do not support M quality SEED data records.  This type of data record is a documented part of the SEED standard.  By default the ws-bulkdataselect service will return the "best" data which is a potential merge of other data qualities, this data is always marked with an M quality.  It is also possible to request a specific quality (non-merged) from ws-bulkdataselect, but that is only recommended if you really know which copy of the data you want.  Merging and returning M quality data is also the default for BREQ_FAST and other request mechanisms at the DMC.

My suggestion is to contact the author of those programs (Doug Neuhauser) if you really need them for your processing.  Alternatively you can describe your processing steps and we can suggest alternatives.

regards,
Chad

On Feb 15, 2011, at 8:38 AM, Alessia Maggi wrote:

> Dear Webservices people,
> 
> I am having difficulty reading the miniseed files obtained through webservices.  I have tried several methods of obtaining the data, from straight http requests, to the Perl client scripts, to wget requests on the bulkdataselect service...  
> 
> Every time, the miniseed files are incorrectly formatted, so qmerge and sdrsplit refuse to work:
> 
> e.g.
> 
> alessia at makalu:~$ qmerge -nv IU.ANMO.00.BHZ.2010.058.06.30.00.000-2010.058.10.30.00.000.miniseed
> Error: unrecognizable input file IU.ANMO.00.BHZ.2010.058.06.30.00.000-2010.058.10.30.00.000.miniseed
> 
> alessia at makalu:~$ sdrsplit -C IU.ANMO.00.BHZ.2010.058.06.30.00.000-2010.058.10.30.00.000.miniseed 
> unknown header type: -1
> 
> The files have an integer number of 4096 byte blocs, and seem to start with somewhat correct blocs (as far as I can tell using od -c)...
> 
> Do you have any ideas?  Any help would be gratefully received!
> 
> Alessia
> 
> PS: I attach an example of a miniseed file obtained by clicking on the following url from the http://www.iris.edu/ws/dataselect/ webpage
> 
>  http://www.iris.edu/ws/dataselect/query?net=IU&sta=ANMO&loc=00&cha=BHZ&start=2010-02-27T06:30:00.000&end=2010-02-27T10:30:00.000
> 
> 
> 
> 
> <IU-1.ANMO.00.BHZ.2010.058.06.30.00.000-2010.058.10.30.00.000.miniseed>_______________________________________________
> webservices mailing list
> webservices at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/webservices




More information about the webservices mailing list