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'm sure we don't handle it correctly right now. This will be necessary to work with any self-contained catalog or relative published catalog, which could be particularly useful if working with local data.
There's perhaps a larger question here about whether we want to use PySTAC internally instead of raw JSON, since it would handle this (and other things, like item assets #4) for us.
The text was updated successfully, but these errors were encountered:
For anyone who wants to bypass this issue without having to adjust the STAC Catalog on disk:
importpystacimportstackstacstac_catalog=pystac.Catalog.from_file('path/to/my/catalog.json')
stac_catalog.make_all_asset_hrefs_absolute() # only in-memoryds=stackstac.stack(items=stac_catalog)
I'm sure we don't handle it correctly right now. This will be necessary to work with any self-contained catalog or relative published catalog, which could be particularly useful if working with local data.
There's perhaps a larger question here about whether we want to use PySTAC internally instead of raw JSON, since it would handle this (and other things, like item assets #4) for us.
The text was updated successfully, but these errors were encountered: