intake / intake-stac

Intake interface to STAC data catalogs
https://intake-stac.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
111 stars 25 forks source link

Update the holoviz notebook to use pystac #148

Open echarles opened 2 years ago

echarles commented 2 years ago

The holoviz notebook example https://github.com/intake/intake-stac/blob/7706db898fff61375a75ea174a5de879893766e7/examples/intake-holoviz.ipynb is failing with

Expected <class 'pystac.item_collection.ItemCollection'> instance, got: <class 'satstac.itemcollection.ItemCollection'>

I guess the notebook content has not been changed to reflect the migration from statstac to pystac https://github.com/intake/intake-stac/pull/72

I have quickly tried to change the imports and initialise a pystac catalog, but sounded like a less trivial task than expected looking at the doc https://pystac.readthedocs.io/en/stable/tutorials/how-to-create-stac-catalogs.html. I may take that back on my own, any snippet appreciated.