Thread: Problem with irisFetch and http://service.scedc.caltech.edu

Started: 2015-07-14 18:24:33
Last activity: 2015-07-14 18:29:08
Topics: Web Services
When I try to use the irisFetch tool to download data from SCEC I get the
following error:

Using services at base: http://service.scedc.caltech.edu
traces = tracedata.fetchTraces("CI", "BAR", "*", "BHZ", "2000-04-06
16:15:56.200", "2000-04-06 17:15:56.200", 'B', 0)
2015/07/14 18:06:18 INFO: edu.iris.dmc.extensions.fetch.TraceData
fetchTraces: StationService url set to:
http://service.scedc.caltech.edu/fdsnws/station/1/
2015/07/14 18:06:24 FINER: edu.iris.dmc.extensions.fetch.TraceData
usrMessage: Found 1 applicable metadata
2015/07/14 18:06:24 INFO: edu.iris.dmc.extensions.fetch.TraceData
fetchTraces: WaveService url set to:
http://service.scedc.caltech.edu/fdsnws/dataselect/1/
2015/07/14 18:06:24 FINER: edu.iris.dmc.extensions.fetch.TraceData
usrMessage: Requesting: CI BAR -- BHZ 2000-04-06T16:15:56.200
2000-04-06T17:15:56.200
2015/07/14 18:06:24 FINER: edu.iris.dmc.extensions.fetch.TraceData
usrMessage: Fetching waveform data
Jul 14, 2015 6:06:24 PM edu.iris.dmc.service.WaveformService fetch
WARNING: An error occurred while making a GET request Error 500:
handlerProgram exit code: 1 handlerProgram message: Traceback (most recent
call last):
File "/www/wssconfig/dataselect-handler.py", line 419, in <module>
Main()
File "/www/wssconfig/dataselect-handler.py", line 34, in Main
retval = ValidateRequest(params, logfp)
File "/www/wssconfig/dataselect-handler.py", line 358, in ValidateRequest
net, sta, loc, chan, start, end = param.split(' ')
ValueError: need more than 1 value to unpack


Request:
http://service.scedc.caltech.edu/fdsnws/dataselect/1/query

Request Submitted:
2015/07/14 18:06:24 UTC

Service version:
fdsnws-dataselect: v 1.1.0


... since traces is empty, creating an empty structure

Any idea what is causing the problem?
Please note that this example request works if I use the
http://service.iris.edu data center. I have also confirmed that the SCEC
webservice is working directly:
http://service.scedc.caltech.edu/fdsnws/dataselect/1/query?net=CI&sta=BAR&cha=BHZ&loc=--&start=2000-04-06T16:15:56.200&end=2000-04-06T16:15:56.200


Shahar
--
Shahar Barak
=======================================
PhD Candidate
Crustal Geophysics Research Group
Department of Geophysics, Stanford University
397 Panama Mall, Stanford CA 94305-2215
Mitchell Building, room 463
(650) 427-9147
shaharb<at>stanford.edu

  • Hi Shahar,

    I will take a look and get back to you.

    regards,
    Aparna

    On Tue, Jul 14, 2015 at 11:24 AM, Shahar Barak <shaharb<at>stanford.edu> wrote:

    When I try to use the irisFetch tool to download data from SCEC I get the
    following error:

    Using services at base: http://service.scedc.caltech.edu
    traces = tracedata.fetchTraces("CI", "BAR", "*", "BHZ", "2000-04-06
    16:15:56.200", "2000-04-06 17:15:56.200", 'B', 0)
    2015/07/14 18:06:18 INFO: edu.iris.dmc.extensions.fetch.TraceData
    fetchTraces: StationService url set to:
    http://service.scedc.caltech.edu/fdsnws/station/1/
    2015/07/14 18:06:24 FINER: edu.iris.dmc.extensions.fetch.TraceData
    usrMessage: Found 1 applicable metadata
    2015/07/14 18:06:24 INFO: edu.iris.dmc.extensions.fetch.TraceData
    fetchTraces: WaveService url set to:
    http://service.scedc.caltech.edu/fdsnws/dataselect/1/
    2015/07/14 18:06:24 FINER: edu.iris.dmc.extensions.fetch.TraceData
    usrMessage: Requesting: CI BAR -- BHZ 2000-04-06T16:15:56.200
    2000-04-06T17:15:56.200
    2015/07/14 18:06:24 FINER: edu.iris.dmc.extensions.fetch.TraceData
    usrMessage: Fetching waveform data
    Jul 14, 2015 6:06:24 PM edu.iris.dmc.service.WaveformService fetch
    WARNING: An error occurred while making a GET request Error 500:
    handlerProgram exit code: 1 handlerProgram message: Traceback (most recent
    call last):
    File "/www/wssconfig/dataselect-handler.py", line 419, in <module>
    Main()
    File "/www/wssconfig/dataselect-handler.py", line 34, in Main
    retval = ValidateRequest(params, logfp)
    File "/www/wssconfig/dataselect-handler.py", line 358, in ValidateRequest
    net, sta, loc, chan, start, end = param.split(' ')
    ValueError: need more than 1 value to unpack


    Request:
    http://service.scedc.caltech.edu/fdsnws/dataselect/1/query

    Request Submitted:
    2015/07/14 18:06:24 UTC

    Service version:
    fdsnws-dataselect: v 1.1.0


    ... since traces is empty, creating an empty structure

    Any idea what is causing the problem?
    Please note that this example request works if I use the
    http://service.iris.edu data center. I have also confirmed that the SCEC
    webservice is working directly:

    http://service.scedc.caltech.edu/fdsnws/dataselect/1/query?net=CI&sta=BAR&cha=BHZ&loc=--&start=2000-04-06T16:15:56.200&end=2000-04-06T16:15:56.200


    Shahar
    --
    Shahar Barak
    =======================================
    PhD Candidate
    Crustal Geophysics Research Group
    Department of Geophysics, Stanford University
    397 Panama Mall, Stanford CA 94305-2215
    Mitchell Building, room 463
    (650) 427-9147
    shaharb<at>stanford.edu



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



18:34:00 v.b3198453