[webservices] empty loc code in fdsnws/station query

Anthony Lomax alomax at free.fr
Thu Jun 25 11:28:50 PDT 2015


Hi Chad and Rob, 

Thanks for taking a look and for the information. I am pretty sure I have been using this (and other Wilbur mseed files with empty loc code) for a few years without problems when requesting meta data from the ws's - it seems to me that the problem started recently (since ~~6 months???), but I am not sure. Perhaps something to do with the changes to the loc code to represent empty? 

In any case, I have done and can do some work-around. I have a very large number of mseed files in an event database, so I would only download again from Wilbur as a last resort. 

> Any chance your copy has been modified in the last 4 years? 

No, it has the original date and I never write mseed. 

I am leaving for IUGG tomorrow, so may be respond rapidly to any more discussion on this. 

Thanks, 

Ciao, 

Anthony 

----- Original Message -----

| From: "Robert Casey" <rob at iris.washington.edu>
| To: "IRIS Web Services List" <webservices at iris.washington.edu>, "Rick
| Benson" <rick at iris.washington.edu>
| Sent: Thursday, 25 June, 2015 8:11:12 PM
| Subject: Re: [webservices] empty loc code in fdsnws/station query

| Hi Anthony-

| I checked the wayback machine to find a time when II would have
| transitioned their data from using an empty location code. I found
| an announcement from Rick back in Dec 2001 regarding IRIS/IDA
| resending their data to correct for mistakes in the MK7 datalogger.
| At that point, they were supposed to re-send data going back to 1993
| containing numeric location codes. Since you are looking at 1992
| data, I am not sure when that got shifted in our archives, so what
| you received may indeed be pretty old. Perhaps Rick can remember
| what the II resend history looked like.

| Data is a constantly shifting medium here. Probably good for you to
| get a fresh copy of this event from WILBER III.

| -RobC

| | On Jun 25, 2015, at 10:50 AM, Chad Trabant <
| | chad at iris.washington.edu
| | > wrote:
| 

| | Hi Anthony,
| 

| | The location code in that data is definitely empty. I did a quick
| | check and it is exactly the same waveform as the II.AAK data the
| | DMC
| | is serving with location ID '00'.
| 

| | I have no idea what happened to that data such that the location ID
| | is not present in the copy you have. The data in the archive was
| | written pre-2011 and not modified since and such a change is not
| | something the DMC would do during delivery. Any chance your copy
| | has
| | been modified in the last 4 years?
| 

| | Chad
| 

| | | On Jun 21, 2015, at 12:13 PM, Anthony Lomax < alomax at free.fr >
| | | wrote:
| | 
| 

| | | Hi Chad,
| | 
| 

| | | Thanks for the information. I am reading an mseed file downloaded
| | | from IRIS Wilbur in 2011 or earlier, and it appears in my
| | | software
| | | that the location code is empty:
| | 
| 
| | | https://dl.dropboxusercontent.com/u/35233023/Flores_Indonesia_1992.mseed
| | 
| 

| | | ???
| | 
| 

| | | Thanks!
| | 
| 

| | | Anthony
| | 
| 

| | | PS - I have added a work around to this in my code, so you do not
| | | need to reply again on the weekend!
| | 
| 

| | | On 21/06/2015 11:43, Chad Trabant wrote:
| | 
| 

| | | | Hi Anthony,
| | | 
| | 
| 

| | | | The 204 means "no matching data selected". If you would like to
| | | | see
| | | | the error returned in your web browser try adding the
| | | | parameter-value "nodata=404":
| | | 
| | 
| 

| | | | http://service.iris.edu/fdsnws/station/1/query?net=II&sta=AAK&loc=--&cha=BHZ&starttime=1992-12-12&endtime=1992-12-12&level=station&nodata=404
| | | 
| | 
| 

| | | | If you submit the query with channel level details:
| | | 
| | 
| 
| | | | http://service.iris.edu/fdsnws/station/1/query?net=II&sta=AAK&cha=BHZ&starttime=1992-12-12&endtime=1992-12-12&level=channel&nodata=404
| | | 
| | 
| 

| | | | you'll see that there are no channels with empty location IDs.
| | | 
| | 
| 

| | | | Chad
| | | 
| | 
| 

| | | | | On Jun 21, 2015, at 10:54 AM, Anthony Lomax < alomax at free.fr
| | | | | >
| | | | | wrote:
| | | | 
| | | 
| | 
| 

| | | | | In fact, what is returned is:
| | | | 
| | | 
| | 
| 
| | | | | Query:
| | | | | http://service.iris.edu/fdsnws/station/1/query?net=II&sta=TLY&loc=--&cha=BHZ&starttime=1992-12-12&endtime=1992-12-12&level=chan
| | | | 
| | | 
| | 
| 
| | | | | HTTP/1.1 204 No Content
| | | | 
| | | 
| | 
| 

| | | | | ???
| | | | 
| | | 
| | 
| 

| | | | | Thanks,
| | | | 
| | | 
| | 
| 

| | | | | Anthony
| | | | 
| | | 
| | 
| 

| | | | | On 21/06/2015 10:50, Anthony Lomax wrote:
| | | | 
| | | 
| | 
| 

| | | | | | Hi,
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | The following gives nothing in my browser (no error, no
| | | | | | change
| | | | | | of
| | | | | | page...):
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | http://service.iris.edu/fdsnws/station/1/query?net=II&sta=AAK&loc=--&cha=BHZ&starttime=1992-12-12&endtime=1992-12-12&level=station
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | If I remove the loc=--, it works fine:
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | http://service.iris.edu/fdsnws/station/1/query?net=II&sta=AAK&cha=BHZ&starttime=1992-12-12&endtime=1992-12-12&level=station
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | Doc says:
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | loc[ation] 00 Select one or more SEED location identifier.
| | | | | | Use
| | | | | | --
| | | | | | for
| | | | | | “Blank” location IDs (ID’s containing 2 spaces). Accepts
| | | | | | wildcards
| | | | | | and lists. Accepts exclusions.
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | Am I missing something?
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | Thanks,
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | Anthony Lomax
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | --
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | Sent from my iClayTablet
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | Anthony Lomax
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | 161 Allée du Micocoulier, 06370 Mouans-Sartoux, France
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | tel: +33 (0)4 93 75 25 02 e-mail: anthony at alomax.net web:
| | | | | | http://www.alomax.net
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | | Twitter: @ALomaxNet
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | Science & Special Topics: http://www.alomax.net/science
| | | | | 
| | | | 
| | | 
| | 
| 
| | | | | | Software: http://www.alomax.net/software - updates:
| | | | | | https://twitter.com/ALomaxNet
| | | | | 
| | | | 
| | | 
| | 
| 

| | | | | --
| | | | 
| | | 
| | 
| 
| | | | | Sent from my iClayTablet
| | | | 
| | | 
| | 
| 

| | | | | Anthony Lomax
| | | | 
| | | 
| | 
| 
| | | | | 161 Allée du Micocoulier, 06370 Mouans-Sartoux, France
| | | | 
| | | 
| | 
| 
| | | | | tel: +33 (0)4 93 75 25 02 e-mail: anthony at alomax.net web:
| | | | | http://www.alomax.net
| | | | 
| | | 
| | 
| 

| | | | | Twitter: @ALomaxNet
| | | | 
| | | 
| | 
| 
| | | | | Science & Special Topics: http://www.alomax.net/science
| | | | 
| | | 
| | 
| 
| | | | | Software: http://www.alomax.net/software - updates:
| | | | | https://twitter.com/ALomaxNet
| | | | 
| | | 
| | 
| 

| | | | | _______________________________________________
| | | | 
| | | 
| | 
| 
| | | | | webservices mailing list
| | | | 
| | | 
| | 
| 
| | | | | webservices at iris.washington.edu
| | | | 
| | | 
| | 
| 
| | | | | http://www.iris.washington.edu/mailman/listinfo/webservices
| | | | 
| | | 
| | 
| 

| | | | _______________________________________________
| | | 
| | 
| 
| | | | webservices mailing list webservices at iris.washington.edu
| | | | http://www.iris.washington.edu/mailman/listinfo/webservices
| | | 
| | 
| 
| | | --
| | 
| 
| | | Sent from my iClayTablet
| | 
| 

| | | Anthony Lomax
| | 
| 
| | | 161 Allée du Micocoulier, 06370 Mouans-Sartoux, France
| | 
| 
| | | tel: +33 (0)4 93 75 25 02 e-mail: anthony at alomax.net web:
| | | http://www.alomax.net
| | 
| 

| | | Twitter: @ALomaxNet
| | 
| 
| | | Science & Special Topics: http://www.alomax.net/science
| | 
| 
| | | Software: http://www.alomax.net/software - updates:
| | | https://twitter.com/ALomaxNet
| | 
| 

| | | _______________________________________________
| | 
| 
| | | webservices mailing list
| | 
| 
| | | webservices at iris.washington.edu
| | 
| 
| | | http://www.iris.washington.edu/mailman/listinfo/webservices
| | 
| 

| | _______________________________________________
| 
| | webservices mailing list
| 
| | webservices at iris.washington.edu
| 
| | http://www.iris.washington.edu/mailman/listinfo/webservices
| 

| _______________________________________________
| webservices mailing list
| webservices at iris.washington.edu
| http://www.iris.washington.edu/mailman/listinfo/webservices

-- 

Anthony 

www.alomax.net 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20150625/40733d9a/attachment-0001.html>


More information about the webservices mailing list