-
Notifications
You must be signed in to change notification settings - Fork 20
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
odc.stac.load
- ValueError if Asset name contains dot (file extension)
#191
Comments
odc.stac.load
- ValueError if Asset name contains dot (file extension)
@clausmichele thanks for the report, this is now fixed on develop branch. Some comments about the stac document linked above This part: "eo:bands": [
{
"name": "tmmx"
}
], is not being parsed out, should be I'd recommend naming asset |
Thanks @Kirill888 for the quick fix |
@Kirill888 Thank you. Please note that a common name tmmx is invalid according to STAC. I'll add the EO extension, thanks for noting this. |
@m-mohr I see, it's a fixed set of names. And is |
Yes, although with STAC 1.1 that has slightly changed to |
MWE to reproduce the issue:
Error:
ValueError: invalid literal for int() with base 10: 'tiff'
The problem is here:
https://github.com/opendatacube/odc-stac/blob/develop/odc/loader/types.py#L589
since it's trying to cast to
int
the stringtiff
The text was updated successfully, but these errors were encountered: