is_remote#
- gwpy.io.remote.is_remote(url: str) bool[source]#
Return
Trueifurlpoints at a remote URL.This function just inspects the ‘scheme’ of the URL, if present, and returns
Trueif the scheme isn’t"file".On Windows, any
urlthat includes a drive assignment, e.g:"C:\\Users\\me\\data.txt"will returnFalse.- Parameters:
- url
str,pathlib.Path The URL to inspect.
- url
- Returns: