get_urls

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

Fetch the URLs from GWOSC regarding a given GPS interval

Parameters:
  • detector (str) – the prefix of the relevant GW detector

  • start (int) – the GPS start time of your query

  • end (int) – the GPS end time of your query

  • dataset (str, None, optional) – the name of the dataset to query, e.g. 'GW150914'

  • version (int, None, optional) – the data-release version for the selected datasets

  • sample_rate (int, optional, default : 4096) – the sampling rate (Hz) of files you want to find

  • format (str, optional, default: 'hdf5') – the file format (extension) you want to find

  • host (str, optional) – the URL of the remote GWOSC server

Returns:

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

Return type:

list of str