[webservices] empty loc code in fdsnws/station query

Anthony Lomax alomax at free.fr
Sun Jun 21 03:13:28 PDT 2015


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*
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20150621/9b16dd2c/attachment.html>


More information about the webservices mailing list