Skip to content

Commit 0a77bbc

Browse files
Update gen-all-release-stac.py
1 parent c662e62 commit 0a77bbc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

gen-all-release-stac.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import pyarrow.fs as fs
55
import pystac
66
import yaml
7-
87
from src.overture_stac import OvertureRelease
98

109
if __name__ == "__main__":
@@ -62,7 +61,7 @@
6261
- schema: "1.6.0"
6362
release: "2025-02-19.0"
6463
- schema: "1.5.0"
65-
release: "2025-01-22.0"
64+
release: "2025-01-22.0"
6665
"""
6766
):
6867
schema_version_mapping[_.get("release")] = _.get("schema")
@@ -110,6 +109,8 @@
110109
this_release.release_catalog.extra_fields["latest"] = True
111110
overture_releases_catalog.extra_fields = {"latest": release}
112111

112+
overture_releases_catalog.extra_fields["registry"] = {}
113+
113114
overture_releases_catalog.normalize_and_save(
114115
root_href=str(output), catalog_type=pystac.CatalogType.SELF_CONTAINED
115116
)

0 commit comments

Comments
 (0)