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 fef8067 commit 5d2520e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def test_open_data_abfs(self):
_ = store.open_data(data_id, asset_names=["surface_air_pressure"])
self.assertEqual(
(
"Only 's3' and 'https' protocols are supported, not 'abfs'. The asset "
"Only 'file', 's3' and 'https' are supported, not 'abfs'. The asset "
"'surface_air_pressure' has a href 'abfs://era5/ERA5/2020/12/"
"surface_air_pressure.zarr'. The item's url is given by "
"'https://planetarycomputer.microsoft.com/api/stac/v1/collections/"
Expand Down
3 changes: 3 additions & 0 deletions xcube_stac/store_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,9 @@ def open_data(
items = sorted(items, key=lambda item: item.properties.get("datetime"))

# group items by date
import pdb

pdb.set_trace()
grouped_items = groupby_solar_day(items)

if opener_id is None:
Expand Down

0 comments on commit 5d2520e

Please sign in to comment.