-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
add_stac_layer
failing with the latest Planetary Computer release
#245
Labels
bug
Something isn't working
Comments
@TomAugspurger Thanks for reporting. This bug has been fixed in the new release v0.9.3 |
Thanks! I'll get the leafmap version used on the Planetary Computer updated once it's available through conda-forge. |
It should be available in an hour or two. |
Available on conda-forge now. |
sthagen
pushed a commit
to sthagen/giswqs-leafmap
that referenced
this issue
Feb 18, 2023
Former-commit-id: 116852a
sthagen
pushed a commit
to sthagen/giswqs-leafmap
that referenced
this issue
Feb 18, 2023
Fixed stac stats bug opengeos#245 Former-commit-id: dfa8257
sthagen
pushed a commit
to sthagen/giswqs-leafmap
that referenced
this issue
Jul 10, 2024
Former-commit-id: 811625e
sthagen
pushed a commit
to sthagen/giswqs-leafmap
that referenced
this issue
Jul 10, 2024
Fixed stac stats bug opengeos#245 Former-commit-id: be3da31
kuzja111
pushed a commit
to kuzja111/leafmap
that referenced
this issue
Jul 25, 2024
Former-commit-id: a489d70
kuzja111
pushed a commit
to kuzja111/leafmap
that referenced
this issue
Jul 25, 2024
Fixed stac stats bug opengeos#245 Former-commit-id: 3898548
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment Information
Description
Use
add_stac_layer
with a STAC item from the Planetary Computer.What I Did
Here's
stats[s]
:It seems that the structure of the
stats
object changed with this release. https://github.com/microsoft/planetary-computer-apis/blob/174db793bfe9f572fff13b04e13bac1005d212fc/pctiler/setup.py#L13-L14 has the TiTiler versions we're using (if that's the relevant library that changed).The fix seems pretty simple, to just use
stats[s]["precentile_2"]
. But I suspect that would break clients working with older versions of TiTiler.End-users can work around this by providing an
expression
orrescale
.The text was updated successfully, but these errors were encountered: