You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have checked that this bug exists on the latest version of HydroMT.
Reproducible Example
import hydromt
import fsspec
import rioxarray
data_catalog = hydromt.DataCatalog(data_libs=["data_catalog.yml"])
# This results in an error
# rasterio.errors.RasterioIOError: webdav+https://files.isric.org/soilgrids/latest/data/sand/sand_0-5cm_mean.vrt: No such file or directory
# soilgrids = data_catalog.get_rasterdataset("soilgrids_test")
# but using fsspec directly works
soilgrids = data_catalog.get_source("soilgrids_test")
with fsspec.open(
soilgrids.path,
mode="rb",
base_url=soilgrids.storage_options["base_url"],
) as f:
da = rioxarray.open_rasterio(
f,
).squeeze(drop=True)
print(da)
HydroMT version checks
Reproducible Example
data_catalog.yml:
Current behaviour
The data doesn't load, but results in the following error:
Desired behaviour
The data is loaded using webdav
Additional context
No response
The text was updated successfully, but these errors were encountered: