-
Notifications
You must be signed in to change notification settings - Fork 122
Exception if Catalog doesn't have a description field during catalog.get_children() #464
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
Comments
Thanks for reporting, this is fixed for PySTAC 1.0 by #451, but hasn't been implemented in other versions. We can look at applying that fix to the other release lines as well. |
I personally don't think it's necessary to apply it to other lines, as long as it's in 1.0 |
@philvarner Sorry, I should be more specific about this... It looks like this is failing on this link from the landing page: {
"rel": "child",
"title": "Concepts",
"type": "application/json",
"href": "https://tamn.snapplanet.io/catalogs/concepts"
} That {
"id": "concepts",
"title": "Concepts catalogs",
"links": [
{
"rel": "self",
"type": "application/json",
"href": "https://tamn.snapplanet.io/catalogs/concepts"
},
{
"rel": "root",
"type": "application/json",
"href": "https://tamn.snapplanet.io"
}
],
"stac_version": "1.0.0"
} which is not a valid STAC object. As of PySTAC 1.0.0-rc.1 this will raise a |
Actually, it looks like this gets incorrectly identified as a Catalog instead of raising a |
pystac version 0.5.6
This exception is thrown if a Catalog doesn't have a
description
field:This was thrown from this code:
The "bad" catalog without a description is here: https://tamn.snapplanet.io/catalogs/concepts
The text was updated successfully, but these errors were encountered: