-
Notifications
You must be signed in to change notification settings - Fork 48
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
Does not represent a CollectionClient instance error when running stac-client collections #129
Comments
This appears to be an issue with the STAC Catalog you've set up at http://robin-stac-fastapi-test.azurewebsites.net -- the collection with However, it's hard to know that from the error message -- I've opened #130 to capture that difficulty. |
Great - that's really helpful @gadomski, thank you. Thanks for creating the issue for more informative error messages too. I think that |
The STAC API states that collections must have a 'type' of 'Collection', but the example data had a collection with a type of 'collection' which caused various other tools to fail when processing this collection (see stac-utils/pystac-client#129)
* Change type of example collection to 'Collection' The STAC API states that collections must have a 'type' of 'Collection', but the example data had a collection with a type of 'collection' which caused various other tools to fail when processing this collection (see stac-utils/pystac-client#129) * Update Changelog Co-authored-by: Nathan Zimmerman <[email protected]>
* Change type of example collection to 'Collection' The STAC API states that collections must have a 'type' of 'Collection', but the example data had a collection with a type of 'collection' which caused various other tools to fail when processing this collection (see stac-utils/pystac-client#129) * Update Changelog Co-authored-by: Nathan Zimmerman <[email protected]>
I'm the author of #113, and am trying to check that bug is fixed. However, I seem to have run into another issue - but I don't know whether it is a pystac-client issue, a pystac issue or a stac-fastapi issue. I hope someone here might be able to work out where the bug is and then I can submit an issue at the right place.
When running:
I get the following output:
The key bit seems to be the last bit:
does not represent a CollectionClient instance
.The URL is a deployment of stac-fastapi that I've set up, and it seems to work fine with every other tool I've used it with. That makes me think that this might be a problem in pystac-client or pystac - but as I said above, I'm not sure, and I'm happy to be corrected.
I'm happy for you to look at the URL and browse the JSON returned to try and debug this - but I'm not quite sure how to debug it myself (I got very lost in the pystac/pystac-client code last time I tried).
Any ideas would be much appreciated.
The text was updated successfully, but these errors were encountered: