Skip to content

Commit

Permalink
Add some debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Apr 9, 2024
1 parent 933a05f commit 351fc60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion feedstock/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
data_store_prefix: "gs://leap-scratch/jbusecke/proto_feedstock/latest/data"
catalog_store_prefix: "gs://leap-scratch/jbusecke/proto_feedstock/latest/catalog"
recipes:
"small":
small:
pyramid_store_path: "gs://some-bucket/some-path"
extra_metadata:
field: "value"
Expand Down
2 changes: 2 additions & 0 deletions scripts/create_catalog_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
data_prefix = catalog_meta['data_store_prefix']
catalog_prefix = catalog_meta['catalog_store_prefix']

print(f"{catalog_meta=}")

if 'data_store_path' in recipe_meta.keys() and 'data_store_prefix' in catalog_meta.keys():
# raise error if both are present
raise ValueError("Both 'data_store_path' and 'data_store_prefix' are present in the recipe metadata. Please only specify one.")
Expand Down

0 comments on commit 351fc60

Please sign in to comment.