Skip to content

Commit 6acee4b

Browse files
committed
Fixes #55
1 parent a041518 commit 6acee4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/eopf_stac/sentinel3/stac.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,8 @@ def create_item(
129129
item.common_metadata.providers = SENTINEL3_METADATA["providers"]
130130
item.common_metadata.constellation = SENTINEL3_METADATA["constellation"]
131131

132-
# CPM workaround: instruments property which is not an array
133132
if properties.get("instruments"):
134-
item.common_metadata.instruments = [properties.get("instruments")]
133+
item.common_metadata.instruments = properties.get("instruments")
135134

136135
if properties.get("platform"):
137136
item.common_metadata.platform = properties.get("platform")

0 commit comments

Comments
 (0)