Data availability from inventory

Dear Obspy users,

When metadata from a network is downloaded via client.get_stations, it can happen that a lot of entires are stations with open access but no actual data is available (on IRIS for example).
Is there a way to find out from an inventory, if a certain station has archived data?


University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.

Hi Martin,

in general not but the IRIS FDSN web service happens to support an
additional parameter "matchtimeseries" which can be used with

client.get_stations(..., matchtimeseries=True)

and will return only station that have data at IRIS for the chosen time

Others might have an "includeavailability" parameters which should
return an additional availability tag within the StationXML which you
could parse.

Note that ObsPy contains a mass downloader module which also uses this
logic amongst other things:



Hi Lion,

the matchtimeseries argument will do! Thanks a lot.