get_urls

gwosc.locate.get_urls(detector, start, end, dataset=None, version=None, sample_rate=4096, format='hdf5', host='https://gwosc.org', session=None, pagesize=None)

Fetch the URLs from GWOSC regarding a given GPS interval

Parameters:
detector

the prefix of the relevant GW detector

start

the GPS start time of your query

end

the GPS end time of your query

dataset=None

the name of the dataset to query, e.g. 'GW150914'

version=None

the data-release version for the selected datasets

sample_rate=4096

the sampling rate (Hz) of files you want to find

format='hdf5'

the file format (extension) you want to find

host='https://gwosc.org'

the URL of the remote GWOSC server

session=None

HTTP session to use for making requests, defaults to using a new session for each API call

pagesize=None

the number of results per page

Returns:

urls – the list of remote file URLs that contain data matching the relevant parameters

Return type:

list of str