-
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
Planetary Computer 10m 3DEP Tiffs inconsistent with USGS Tiffs #399
Comments
The STAC item you mentioned is part of the
The COG creation pipeline used for the derived products isn't public unfortunately, it's using PDAL though. But I think this specific spatial inconsistency is unrelated. Looks like this isn't the first time the spatial extent bug was mentioned, see https://github.com/microsoft/planetary-computer-tasks/tree/main/datasets/usgs-lidar although this might only be specific to the generated collections, not 3dep-seamless |
Another possibility we explored is that Planetary Computer is missing the latest version of the data from USGS. Using Lidar Explorer, I looked up historical DEMs for the location you mentioned. I found these files:
Looking at the "last modified" date on Planetary Computer's files, we copied them over from the USGS servers on 3/30/2021. I ran a quick |
Thanks for looking into this @ghidalgo3 @777arc.
This is good to know. It'd be great to include that in STAC metadata going forward to better track provenance (not just for 3DEP, but it did also come up in the context of this past discussion #214)
You can also look at the source files via the S3 browser link https://prd-tnm.s3.amazonaws.com/index.html?prefix=StagedProducts/Elevation/13/TIFF/historical/n39w107/, and I'm seeing 'last modified' dates there of 2022-12-03. In any case, I did re-run the code above for those different versions and see the same mismatched values. |
There are a number of related issues about inconsistent metadata, e.g #277
Here is a different case where the metadata (geotransform) seems OK (nearly identical), but tiff values are quite different compared to the source data.
This pipeline https://github.com/stactools-packages/threedep just deals with creating metadata, is the pipeline for COG creation also public? It's not obvious to me why these values would differ by several meters... It would be good in the pipeline to verify the values are equivalent.
The text was updated successfully, but these errors were encountered: