diff --git a/intake_stac/catalog.py b/intake_stac/catalog.py index 1faf220..ce00461 100644 --- a/intake_stac/catalog.py +++ b/intake_stac/catalog.py @@ -41,6 +41,7 @@ 'application/geopackage+sqlite3': 'geopandas', 'application/vnd+zarr': 'zarr', 'application/xml': 'textfiles', + 'application/yaml': 'yaml_file_cat', } @@ -524,6 +525,8 @@ def _get_args(self, asset, driver): Optional keyword arguments to pass to intake driver """ args = {'urlpath': asset.href} + if driver in ['yaml_file_cat']: + args = {'path': asset.href} if driver in ['netcdf', 'rasterio', 'xarray_image']: # NOTE: force using dask? args.update(chunks={})