Open trchudley opened 9 months ago
Thanks for the report, and sorry for the delay.
I'm not immediately sure, but we have had "strangeness" from the Digital Elevation Model we use as part of sen2cor. Could you read through https://github.com/microsoft/PlanetaryComputer/issues/291 and let me know whether that sounds like it might be the same issue?
Thanks for the report, and sorry for the delay.
I'm not immediately sure, but we have had "strangeness" from the Digital Elevation Model we use as part of sen2cor. Could you read through #291 and let me know whether that sounds like it might be the same issue?
Thanks @TomAugspurger. I can't say for sure it is the exact same issue, although the fact that the 'striping' is broadly consistent between images does suggest to me that there is common underlying error and the DEM could be the issue. The first image in #291 reminds me very clearly of errors caused from nearest-neighbour resampling a larger DEM to a higher resolution (you can replicate this quickly using a hillshade in QGIS and messing with the resampling methods and zooming in and out). The shallower slopes of 'my' imagery make it a bit harder to resolve but there does appear to be the same jagged effects.
Closed
due to inactivity, feel free to reopen if you would like to continue this discussion.
Thanks @ghidalgo3. Neither this nor #291 have, to my knowledge, been resolved, and it does seem to be problematic data artifact if present across the MPC Sentinel-2 dataset...
Thanks @ghidalgo3. Neither this nor #291 have, to my knowledge, been resolved, and it does seem to be problematic data artifact if present across the MPC Sentinel-2 dataset...
Thanks for replying, reopening Issue
In an attempt to propose potential culprits for this problem, rasterio bilinear resampling appears to be introducing similar patterns of error as I see in the images I first posted (https://github.com/rasterio/rasterio/issues/2052#issuecomment-2078732477). I don't think Planetary Computer Sentinel-2 data has been been processed by rasterio prior to distribution but perhaps it's better than nothing for a starting lead!
I'm attempting to use the Planetary Computer to download Sentinel-2 band 8 images over a region of high contrast - specifically, a crevasse field on the Greenland Ice Sheet located at:
However, it is apparent that when I do so, there are artificial linear 'tiger stripes' visible in the imagery that are particularly problematic for analysing crevasse fields:
This is not visible when downloading the same series of images from an alternative source (Google Earth Engine).
(Note that, due to slightly different search methods, only the central scenes are identical between these two figures, but I hope it highlights the difference clearly).
These images are being downloaded using
stackstac
and reprojected into CRS 3413 (although the striping remains whether I reproject or not, and regardless of what reprojection method I use). The stripes are also visible in other bands.I wonder if you are aware what the problem could be here? Is it something to do with bit depth or compression artefacts? Or with
stackstac
as a download interface for MPC?Kind regards, Tom
P.S. For reference, the images I have visualised from MPC above are as follows: