Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom STAC bug #724

Closed
simone-tilia opened this issue Apr 16, 2024 · 1 comment · Fixed by #725
Closed

Custom STAC bug #724

simone-tilia opened this issue Apr 16, 2024 · 1 comment · Fixed by #725
Labels
bug Something isn't working

Comments

@simone-tilia
Copy link

Environment Information

  • leafmap version: 0.31.7

Description

Following the tutorial 73 custom stac:

import os
from leafmap import leafmap

catalogs = {
    "Element84 Earth Search": "https://earth-search.aws.element84.com/v1"
}

m = leafmap.Map(center=[40, -100], zoom=4, catalog_source=catalogs)
m

I got an error and analyzing the code I noticed that the function stac_client returns a tuple consisting of client and client.id but stac_collections only needs the client.

@simone-tilia simone-tilia added the bug Something isn't working label Apr 16, 2024
@giswqs giswqs linked a pull request Apr 16, 2024 that will close this issue
@giswqs
Copy link
Member

giswqs commented Apr 16, 2024

Thank you for reporting. The bug has been fixed in #725. You can upldate the package using leafmap.update_package() and restart the kernel to take effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants