fetch_catalog_json

gwosc.api.fetch_catalog_json(catalog, host='https://gwosc.org')

“Returns the JSON metadata for the given catalogue

Parameters:
  • catalog (str) – the name of the event catalog, e.g. GWTC-1-confident

  • host (str, optional) – the URL of the GWOSC host to query, defaults to https://gwosc.org

Returns:

data – the JSON data retrieved from GWOSC and returnend by requests.Response.json()

Return type:

dict or list