find_urls#

gwpy.io.datafind.find_urls(
observatory: str,
frametype: str,
start: SupportsToGps,
end: SupportsToGps,
on_gaps: Literal['error', 'ignore', 'warn'] = 'error',
**kwargs,
) list[str][source]#

Find the URLs of files of a given data type in a GPS interval.

Parameters:
observatorystr

The observatory for which to search, as a single character, e.g "G" for GEO-600.

frametypestr

Name of dataset to match.

startLIGOTimeGPS, int, str

GPS start time of search. any input parseable by to_gps is fine. Non-integer GPS start time will be rounded down.

endLIGOTimeGPS, int, str

GPS end time of search. any input parseable by to_gps is fine Non-integer GPS end time will be rounded up.

on_gapsstr, optional

Action to take when the requested all or some of the GPS interval is not covereed by the dataset, one of:

  • 'error': raise a RuntimeError (default)

  • 'warn': emit a warning but return all available URLs

  • 'ignore': return the list of URLs with no warnings

kwargs

Other arguments are passed to gwdatafind.find_urls.

See also

gwdatafind.find_urls

For details of the underlying discovery tool, and supported keyword arguments.