Skip to content

Commit 3e536c8

Browse files
committed
Add "visual" to asset roles in STAC output
1 parent cca7c8b commit 3e536c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcengine/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def write_stac(
2929
for ds_name in datasets:
3030
asset_path = str(stac_root / "output" / (ds_name + ".zarr"))
3131
asset = pystac.Asset(
32-
roles=["data"],
32+
roles=["data", "visual"],
3333
href=asset_path,
3434
# No official media type for Zarr yet, but "application/vnd.zarr"
3535
# https://github.com/radiantearth/stac-spec/issues/713 and listed in

0 commit comments

Comments
 (0)