You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried generating the STAC metadata using stac threedep create-catalog /tmp/threedep_catalog but hit an error while generating the 1/3 arc-second items:
If you don't provide any asset_ids to the cli script, asset_ids gets created by utils.fetch_ids(product) when running the 1 second collection (product = 1). Then when the loop cycles to product = 13, the asset_ids variable exists so we don't run utils.fetch_ids(product) again. Maybe this used to work but there are some IDs in the 1-second collection that are not present in the 1/3-second collection which causes the FileNotFoundERror.
The text was updated successfully, but these errors were encountered:
I recently tried generating the STAC metadata using
stac threedep create-catalog /tmp/threedep_catalog
but hit an error while generating the 1/3 arc-second items:After digging around a bit I found the root cause in commands.py:
https://github.com/stactools-packages/threedep/blob/main/src/stactools/threedep/commands.py#L63-L69
If you don't provide any
asset_ids
to the cli script,asset_ids
gets created byutils.fetch_ids(product)
when running the 1 second collection (product = 1
). Then when the loop cycles toproduct = 13
, theasset_ids
variable exists so we don't runutils.fetch_ids(product)
again. Maybe this used to work but there are some IDs in the 1-second collection that are not present in the 1/3-second collection which causes theFileNotFoundERror
.The text was updated successfully, but these errors were encountered: