-
Notifications
You must be signed in to change notification settings - Fork 0
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
fails on Landsat catalog #3
Comments
Hello. Indeed, the library has not been extensively tested on version prior to 1.0.0-beta1. Nevertheless, it should support previous version. I will have a check with that landsat catalog. |
It works using IStacCatalog cat06 = await StacFactory.LoadUriAsync(GetUri("https://landsat-stac.s3.amazonaws.com/catalog.json")) as IStacCatalog;
StacCatalog cat = cat06.UpgradeToCurrentVersion();
var children = cat.GetChildren();
IStacCatalog subcat06 = children.FirstOrDefault().Value;
StacCatalog subcat = subcat06.UpgradeToCurrentVersion(); I anyway discovered a small issue with sub collections. This is fixed in version 0.5.8 |
Nice! Thanks! |
Perhaps a runtime configuration setting in DotNetStac would be a better solution than requiring a "UpgradeToCurrentVersion" before calling every parse method? |
Using the notebook as a guide example, I do:
Note the
An Item should not require a stac_version? |
right, in v0.6.0 |
When using the landsat catalog (https://landsat-stac.s3.amazonaws.com/catalog.json) DotNetStac 0.5.7 fails (tried in Jupyter Notebook). Granted the STAC version of the catalog is 0.6 so maybe it's too old.
The text was updated successfully, but these errors were encountered: