[webservices] empty loc code in fdsnws/station query
Anthony Lomax
alomax at free.fr
Thu Jun 25 13:20:41 PDT 2015
Hi Chad,
Well, it seems that I got an mseed from Wilbur in Dec 2011 that has
empty loc code for stations that should have 00 or other loc code. And I
do not recall this causing a problem before this week in requesting
meta-data from the IRIS-WS. I did recently switch to the FDSN WS, maybe
there is a difference in the way it handles empty loc codes?
I put a few of the mseed files from 2011 here:
https://www.dropbox.com/sh/t40qzkwzcsps5c6/AAAy1TDKp5q4TfCWe9GpNmKBa?dl=0
in case they may be of use to you.
It is late here...
See you over coffee...
Thanks,
Anthony
On 25/06/2015 21:38, Chad Trabant wrote:
>
> > Perhaps something to do with the changes to the loc code to
> represent empty?
>
> The loc code representation change should not have effected this. The
> old Wilber is gone and it was not using web services back then anyway
> (and that's the only place location code representation changed).
>
> >> Any chance your copy has been modified in the last 4 years?
>
> >No, it has the original date and I never write mseed.
>
> That leaves us with a conundrum I'm afraid.
>
> Did you get metadata with the original Wilber request?
>
> >I am leaving for IUGG tomorrow, so may be respond rapidly to any more
> discussion on this.
>
> We can discuss more over a coffee...
>
> Chad
>
>
>> ------------------------------------------------------------------------
>>
>> *From:*"Robert Casey" <rob at iris.washington.edu
>> <mailto:rob at iris.washington.edu>>
>> *To:*"IRIS Web Services List" <webservices at iris.washington.edu
>> <mailto:webservices at iris.washington.edu>>, "Rick Benson"
>> <rick at iris.washington.edu <mailto: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 <mailto: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 <mailto: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 <mailto: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
>> <mailto:anthony at alomax.net>
>> web:http://www.alomax.net
>> <http://www.alomax.net/>*
>>
>> *Twitter:**@ALomaxNet
>> <http://twitter.com/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
>> <mailto:anthony at alomax.net>
>> web:http://www.alomax.net <http://www.alomax.net/>*
>>
>> *Twitter:**@ALomaxNet <http://twitter.com/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
>> <mailto: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
>> <mailto:anthony at alomax.net> web:http://www.alomax.net
>> <http://www.alomax.net/>*
>>
>> *Twitter:**@ALomaxNet <http://twitter.com/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
>> <mailto:webservices at iris.washington.edu>
>> http://www.iris.washington.edu/mailman/listinfo/webservices
>>
>>
>> _______________________________________________
>> webservices mailing list
>> webservices at iris.washington.edu
>> <mailto:webservices at iris.washington.edu>
>> http://www.iris.washington.edu/mailman/listinfo/webservices
>>
>>
>>
>> _______________________________________________
>> webservices mailing list
>> webservices at iris.washington.edu
>> <mailto:webservices at iris.washington.edu>
>> http://www.iris.washington.edu/mailman/listinfo/webservices
>>
>>
>>
>>
>> --
>> Anthony
>>
>> www.alomax.net <http://www.alomax.net/>
>>
>> _______________________________________________
>> webservices mailing list
>> webservices at iris.washington.edu <mailto: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
<mailto:anthony at alomax.net> web: http://www.alomax.net
<http://www.alomax.net/> *
*Twitter: * *@ALomaxNet <http://twitter.com/ALomaxNet>*
*Science & Special Topics: * *http://www.alomax.net/science*
*Software: * *http://www.alomax.net/software* *- updates: *
*https://twitter.com/ALomaxNet*
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20150625/0ba887b8/attachment-0001.html>
More information about the webservices
mailing list