intake / intake-stac

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

Installation issue: KeyError: 'open_stac_catalog' #115

Closed jaimebayes closed 2 years ago

jaimebayes commented 2 years ago

Hi,

I have installed intake version 0.6.4, but when I run this line, it did not show what I should see, as you can check it here.

# You should see 'stac_catalog, stac_collection, stac_item, and stac_item_collection' if intake-stac is installed list(intake.registry) ['yaml_file_cat', 'yaml_files_cat', 'alias', 'catalog', 'csv', 'intake_remote', 'ndzarr', 'numpy', 'textfiles', 'zarr_cat']

I need to use open_stac_catalog but it does not exist, the code generate this couple of errors: cat = intake.open_stac_catalog(url) KeyError: 'open_stac_catalog' AttributeError: open_stac_catalog

Any advice to fix it?

Thanks in advance, JL

edwardchalstrey1 commented 2 years ago

This still seems to be an issue in 0.6.5 Edit: I realise I had not actually installed intake-stac separately from intake: pip install intake-stac

@jaimebayes did you have any luck opening a stac catalog with intake?

The docs suggest this should be possible: https://intake-stac.readthedocs.io/en/latest/tutorial.html