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

Alessia Maggi alessia.maggi at unistra.fr
Wed Feb 16 00:45:39 PST 2011


Dear all,

Thank you very much for your rapid replies!

Doug : I have downloaded and tested your updated versions of qmerge / sdrsplit and qlib2, and they work just fine now.  Getting ms2sac to work just required recompiling it with the new qlib2 library, and was done in a matter of seconds.  Thank you very mmuch!

All my current automated routines for data analysis are based on the qug tools, but thank you to those who suggested using the seisFile package, I shall look into it.

Sincerely yours!
Alessia


Le 16 févr. 2011 à 07:35, Doug Neuhauser a écrit :

> I've posted current version of
> 	qmerge
> 	sdrsplit
> 	qlib2
> to:
> 	ftp://www.ncedc.org/pub/quanterra/ucb/qmerge.2011.046.tar.gz
> 	ftp://www.ncedc.org/pub/quanterra/ucb/sdrsplit.2011.046.tar.gz
> 	ftp://www.ncedc.org/pub/quanterra/ucb/qlib2.2011.046.tar.gz
> 
> Let me know if this does not address your problems.
> 
> - Doug N
> 
> On 2/15/11 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
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> webservices mailing list
>> webservices at iris.washington.edu
>> http://www.iris.washington.edu/mailman/listinfo/webservices
> 
> 
> -- 
> Doug Neuhauser                  University of California, Berkeley
> doug at seismo.berkeley.edu        Berkeley Seismological Laboratory
> Office: 510-642-0931            215 McCone Hall # 4760
> Fax:    510-643-5811            Berkeley, CA  94720-4760
> Remote: 530-752-5615 (Wed,Fri)




More information about the webservices mailing list