From e9ff7c516598ab91cf50a6be6d66e6bd016b4473 Mon Sep 17 00:00:00 2001 From: konstntokas Date: Tue, 30 Apr 2024 16:33:30 +0200 Subject: [PATCH] link to issue #5 added --- xcube_stac/stac.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xcube_stac/stac.py b/xcube_stac/stac.py index 55324b8..a307191 100644 --- a/xcube_stac/stac.py +++ b/xcube_stac/stac.py @@ -56,7 +56,8 @@ def __init__( # if STAC catalog is not searchable, pystac_client # falls back to pystac; to prevent warnings from pystac_client - # use catalog from pystac instead. + # use catalog from pystac instead. For more discussion refer to + # https://github.com/xcube-dev/xcube-stac/issues/5 catalog = pystac_client.Client.open(url) if not catalog.conforms_to("ITEM_SEARCH"): catalog = pystac.Catalog.from_file(url)