[webservices] empty loc code in fdsnws/station query
Chad Trabant
chad at iris.washington.edu
Thu Jun 25 10:50:12 PDT 2015
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 <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 <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 <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://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 <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 <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 <http://www.alomax.net/science>
>>>> Software: http://www.alomax.net/software <http://www.alomax.net/software> - updates: https://twitter.com/ALomaxNet <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 <http://www.alomax.net/science>
>>> Software: http://www.alomax.net/software <http://www.alomax.net/software> - updates: https://twitter.com/ALomaxNet <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 <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 <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 <http://www.alomax.net/science>
> Software: http://www.alomax.net/software <http://www.alomax.net/software> - updates: https://twitter.com/ALomaxNet <https://twitter.com/ALomaxNet>
> _______________________________________________
> webservices mailing list
> webservices at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/webservices
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20150625/512fc531/attachment-0001.html>
More information about the webservices
mailing list