Skip to content
Snippets Groups Projects

GWDataFind

The client library for the LIGO Data Replicator (LDR) service.

The DataFind service allows users to query for the location of Gravitational-Wave Frame (GWF) files containing data from the current gravitational-wave detectors.

PyPI version Linux status Windows status License Documentation status

Installation

The simplest installation is via pip:

python -m pip install gwdatafind

This package is also available as a Conda package:

conda install -c conda-forge gwdatafind

Basic Usage

To find the URLs of all H1_R files for the LIGO-Hanford observatory in a given GPS interval:

>>> from gwdatafind import connect
>>> conn = connect()
>>> conn.find_urls('H', 'H1_R', 1198800018, 1198800618)

This can be shortened for single interactions to

>>> from gwdatafind import find_urls
>>> find_urls('H', 'H1_R', 1198800018, 1198800618)

On the command-line

GWDataFind can also be executed via the command-line client, for full details run

$ python -m gwdatafind --help

For more documentation, see gwdatafind.readthedocs.org.