Skip to content

Commit 5b58381

Browse files
committed
fixup! load_stac: drop (unused) support for eo:bands with int indices #619
1 parent 628fbae commit 5b58381

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openeogeotrellis/load_stac.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ def operator_value(criterion: Dict[str, object]) -> (str, object):
154154
else None
155155
)
156156

157+
stac_metadata_parser = _StacMetadataParser(logger=logger)
158+
157159
remote_request_info = None
158160
try:
159161
if dependency_job_info:
@@ -209,7 +211,6 @@ def operator_value(criterion: Dict[str, object]) -> (str, object):
209211
max_poll_time=max_poll_time,
210212
)
211213

212-
stac_metadata_parser = _StacMetadataParser(logger=logger)
213214
if isinstance(stac_object, pystac.Item):
214215
if load_params.properties:
215216
raise properties_unsupported_exception # as dictated by the load_stac spec

0 commit comments

Comments
 (0)