Remote URLs (gwpy.io.remote)#

Remote file I/O utilities for GWpy.

This module provides the open_remote_file function, which is applied automatically when reading all files with the gwpy.io.registry.UnifiedRead registry reader. This means that operations like TimeSeries.read("http://...") can access remote data.

The open_remote_file function also handles (or tries to handle) Pelican URLs, via a hand-off to the function of the same name in gwpy.io.pelican.

Functions#

download_file(url, *[, cache, show_progress])

Download a file from a URL and optionally cache the result.

is_remote(url)

Return True if url points at a remote URL.

open_remote_file(...)

Download a file and open it.