diff --git a/eodatasets3/prepare/sentinel_l1_prepare.py b/eodatasets3/prepare/sentinel_l1_prepare.py index d5f8d9af..858f6f3b 100644 --- a/eodatasets3/prepare/sentinel_l1_prepare.py +++ b/eodatasets3/prepare/sentinel_l1_prepare.py @@ -572,7 +572,9 @@ def on_success(dataset: DatasetDoc, dataset_path: Path): raise ValueError(f"Product {product_name} not found in ODC index") products[product_name] = product - index.datasets.add(Dataset(product, serialise.to_doc(dataset))) + index.datasets.add( + Dataset(product, serialise.to_doc(dataset), uris=dataset.locations) + ) _LOG.debug("Indexed dataset %s to %s", dataset.id, dataset_path) else: