-
Notifications
You must be signed in to change notification settings - Fork 9
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
Potential issues in STAC items for USGS 3DEP-seamless dataset #126
Comments
Thanks for the report. I'll take a closer look when I get a chance, but a couple quick notes:
|
Thanks @TomAugspurger. I'll get the links for each STAC item and will take a look. I'll also post those links here in case you get a change to look at it as well. Will report back here shortly with those links. |
Here's are the urls for the "bad" stac item:
Here's are the urls for the "good" item:
Currently downloading these to inspect with GDAL but it's taking a while. |
Good item:
"Bad" item:
Nothing seems funny here. I'll look into the actual stac metadata now -- I didn't initially see any differences after comparing the outputs of |
Ah, looks like the transform entry in the bad item is just wrong. The math also doesn't make sense for the bounding box, transform, and dimensions (ROWxCOL). transform for "bad" item (
transform, and dimensions (ROWxCOL) transform for "good" item ( (
You'll notice that these don't line up with the pixel sizes that were output from There are several items where this problem is arising. Based on an admittedly superficial look, all of the problem items also seem to be dated 2013. |
Thanks for tracking that down. We'll look into it. |
Sorry for failing to update the status here. In stactools-packages/threedep#12, we fixed the upstream stactools package used to generate these items. We'll need to pull that into our pipeline and regenerate all these items. |
I'm noticing inconsistencies with the USGS 3DEP elevation data when trying to load tiles into DataArrays via stackstac. I posted an issue in the stackstac repo but I'm starting to think the issue might be in the item entries in the STAC itself.
I'm encountering an issue where stackstac throws an error (which appears to be because it can't find the resolution in the item). Specifying a resolution the the stackstac.stack call manually fixes that issue, but then I end up empty (0-length) indices for
band
andtime
, and a few other attributes are missing as well.Any idea what might be going on? MWEs are below.
To create the wonky DataArray:
Output:
To create a normal DataArray with a different bbox
output:
The text was updated successfully, but these errors were encountered: