PIC-IRIS / PH5

Library of PH5 clients, apis, and utilities
Other
15 stars 9 forks source link

[BUG] Unable to download station response or waveforms #514

Open HarrisonJBurnett opened 1 year ago

HarrisonJBurnett commented 1 year ago

Describe the bug Station response for network = ‘YW’ and station = ‘5??’ cannot be downloaded using st_client.get_stations in obspy.

STATION = 'http://service.iris.edu/ph5ws/station/1' st_client = fdsn.client.Client('http://service.iris.edu', service_mappings={ 'station': STATION }, debug=True )

Error message: ValueError: The current client does not have a station service.

Environment (please complete the following information):

To Reproduce STATION = 'http://service.iris.edu/ph5ws/station/1' st_client = fdsn.client.Client('http://service.iris.edu', service_mappings={ 'station': STATION }, debug=True ) st_client.get_stations(network='YW', station='5??', starttime=starttime, endtime=endtime, level='response') using any starttime and endtime during deployment period (MM/DD/YY = 7/01/16 – 10/01/16)

Expected behavior Downloads station response from ph5 repository

Additional context The same issue arises when downloading waveforms using the command data_client.get_waveforms where: DATASELECT = 'http://service.iris.edu/ph5ws/dataselect/1' data_client = fdsn.client.Client('http://service.iris.edu', service_mappings={ 'dataselect': DATASELECT }, debug=True ) Any help or advice would be greatly appreciated Thank you