fetch_run_json
- gwosc.api.fetch_run_json(run, detector, gpsstart=0, gpsend=99999999999, host='https://gwosc.org')
Returns the JSON metadata for the given science run parameters
- Parameters:
run (
str
) – the name of the science run, e.g.'O1'
detector (
str
) – the prefix of the GW detector, e.g.'L1'
gpsstart (
int
) – the GPS start of the desired intervalgpsend (
int
) – the GPS end of the desired intervalhost (
str
, optional) – the URL of the GWOSC host to query, defaults to https://gwosc.org
- Returns:
data – the JSON data retrieved from GWOSC and returned by
json.loads
- Return type: