is_remote#
- rojak.core.sources.is_remote(urlpath)[source]#
Whether
urlpathrefers to a non-local filesystem- Parameters:
- Returns:
Trueif the URL’s protocol is anything other than the local filesystem- Return type:
Examples
>>> is_remote("~/data/era5") False >>> is_remote("file:///data/era5") False >>> is_remote("s3://bucket/era5") True