Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Nov 26, 2024
1 parent 21b97f9 commit feb0f4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xcube_stac/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,10 @@ def get_data_access_params(self, item: pystac.Item, **open_params) -> dict:
for asset_name in asset_names:
protocol = "file"
href_components = item.assets[asset_name].href.split("/")
root = href_components[0]
instrument = href_components[1]
root = href_components[1]
instrument = href_components[2]
format_id = MAP_CDSE_COLLECTION_FORMAT[instrument]
fs_path = "/".join(href_components[1:])
fs_path = "/".join(href_components[2:])
storage_options = {}
data_access_params[asset_name] = dict(
name=asset_name,
Expand Down

0 comments on commit feb0f4d

Please sign in to comment.