Web Services

Notifications, questions and comments related to using the DMC’s web services

Email address
webservices@lists.ds.iris.edu
Type
Subscribers
321
Moderated by
Chad Trabant, Robert Casey, gillian@iris.washington.edu, Gillian Sharer, Rob Casey
Related tags
Web Service
Login to manage your subscriptions
May
April
March
February
January
December
November
October
September
August (3)
July
June
May (1)
April (1)
March (6)
February (10)
January (4)
December (2)
November (3)
October (3)
September
August
July
June
May (8)
April
March
February (2)
January
December
November
October
September
August (1)
July (1)
June
May (4)
April
March (3)
February (19)
January (4)
December
November
October
September
August
July
June
May
April
March
February
January
December
November
October
September
August
July
June (1)
May
April
March
February
January
December
November
October
September
August
July
June
May
April
March
February
January
December
November
October
September
August
July
June
May
April
March
February
January
December (1)
November
October
September
August
July
June
May
April
March
February (1)
January

Active Message Threads for February 2023

Sebastian Heimann
2023-02-08 16:20:54 - 2023-02-09 11:52:03
Retrying, sorry my previous mail got incorrectly formatted probably because of the included PGP signature. Hi! I think I am running into the same type of problems as has been reported previously. I find that about 1 in 30 requests returns corrupt StationXML. Looks like there is e.g. a stray debug print statement in the server code, printing the size of the following block as a hex value. Here's an excerpt from one of the corrupt results (the `2000` lines are the problem): ``` 2000 <?x… [more]
Replies
Matthew Hoyles
2023-02-09 03:44:37
Hello Andres, Thank you for the link. I think you are right. I will check our python code and see if I can uncover a cause in the client, or any other information. Regards, Matthew -----Original Message----- From: Andres Heinloo <andres@gfz-potsdam.de> Sent: Thursday, 9 February 2023 12:31 PM To: Matthew Hoyles <Matthew.Hoyles@ga.gov.au>; webservices@lists.ds.iris.edu; Matthew Hoyles (via IRIS) <webservices-bounce@lists.ds.iris.edu> Subject: Re: [IRIS][webservices] More Stations service pro… [more]
No replies
Matthew Hoyles
2023-02-08 23:31:05
Hello Rob, A little extra information: the line breaks surrounding the inserted hex numbers are <cr> <nl> (Windows style), not <nl> (Unix/Linux style) used for the rest of the XML. This might indicate a process running on a Windows machine is doing the inserting. Regards, Matthew Matthew Hoyles DevOps Engineer, Nuclear Monitoring  |  Information Services Place, Space and Communities Division  |  GEOSCIENCE AUSTRALIA -----Original Message----- From: webservices-bounce@lists.ds.iris.edu <webs… [more]
No replies
Sebastian Heimann
2023-02-08 16:12:07
Hi! I think I am running into the same type of problems as has been reported previously. I find that about 1 in 30 requests returns corrupt StationXML. Looks like there is e.g. a stray debug print statement in the server code, printing the size of the following block as a hex value. Here's an excerpt from one of the corrupt results (the `2000` lines are the problem): ``` 2000 <?xml version="1.0" encoding="ISO-8859-1"?> <FDSNStationXML xmlns="http://www.fdsn.org/xml/stati… [more]
No replies
John West
2023-01-28 18:46:36 - 2023-02-06 13:44:48
Hi! I'm using Obspy to call the stations web service to get BH* and HH* channels for a given network and 2-hour time window. Code snippet: Channels = DCclient.get_stations(startbefore=FileStart, endafter=FileEnd, network=N.code, channel=CHANNELS, level='channel') I get the following error: could not retrieve channels for datacenter IRIS: KY Not a gzipped file (b'a\r') Traceback (most recent call last): File "/home/adept/code/Channels.py", line 213, in FDSNchannels Channels = DCc… [more]
Replies
06:36:32 v.22510d55