Closed Mahir-Sparkess closed 3 years ago
Updated urls in zarr_path to use https.
zarr_path
Code reference:
def http_to_https(url: str) -> str: url_parse = parse.urlparse(url) if url_parse.scheme == 'http': return f"https://{url_parse.netloc}{url_parse.path}" else: return url ceda_zarr_cmip6['zarr_path'] = ceda_zarr_cmip6['zarr_path'].apply( lambda url: http_to_https(url) )
Hi @Mahir-Sparkess I have merged this. Please check it works now :-)
Yep, all is good, I now pull a https link.
Updated urls in
zarr_path
to use https.Code reference: