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
When you connect to the catalog using pystac_client and use get_collection() to retrieve the collection of interest, you always get the last collection. However, when you do catalog.get_child() it works as expected. See below.
importpystac_clientcoclico_stac_href="https://coclico.blob.core.windows.net/stac/v1/catalog.json"catalog=pystac_client.Client.open(coclico_stac_href)
catalog.get_collection("gcts-2000m") # returns the last collection...? at time of writing the shorelinemonitor samplecatalog.get_child("gcts-2000m") # works fine
Not sure if we have a bug while building the STAC, or that our stac is not compatible with pystac_client or that its a bug with pystac_client.
The text was updated successfully, but these errors were encountered:
When you connect to the catalog using
pystac_client
and use get_collection() to retrieve the collection of interest, you always get the last collection. However, when you docatalog.get_child()
it works as expected. See below.Not sure if we have a bug while building the STAC, or that our stac is not compatible with pystac_client or that its a bug with pystac_client.
The text was updated successfully, but these errors were encountered: