Hi,
I want to request restricted data from geofon using the function obspy.clients.fdsn.routing
I got a token for that and I want to send the data request by routing on the data servers since I want to make the data request within a script that is asking data from european seismic stations restricted and open.
I want to give as input to the function get_waveforms my token but I didn’t understand fully the syntax.
Here comes an example
client=RoutingClient(“eida-routing”)
st = client.get_waveforms(channel=“HHZ”, starttime=UTCDateTime(2018, 02, 13),endtime=UTCDateTime(2018, 02, 13, 0, 5), network=network, station=stationname, location="", credential={‘geofon.gfz-potsdam.de’: {‘eida_token’: ‘./token.asc’}})
I don’t get any data from the server with the above request
but if I try with another script external to Obspy I’m successfull in the data retrieval.
So the token seems to be valid.
Do you see any mistake in the usage of the obspy function?
Thanks
Luigia