terra
terra copied to clipboard
Feature request: read Landsat products into SpatRaster object
As far as I can find, there is currently no way to import Landsat products into terra objects using the metadata file (see https://github.com/bleutner/RStoolbox/issues/122). I think that this is a major shortcoming for many potential users of terra. I suggest a function to read the whole product and optionally write a vrt file. I can provide an example tar file if needed. (Copernicus products seem to be be well served by package https://zivankaraman.github.io/CDSE/ but I have not direct experience with it).
Both Sentinel-1 and Sentinel-2 products are directly supported by GDAL. Maybe the Landsat driver should be there too?
- https://gdal.org/en/stable/drivers/raster/safe.html
- https://gdal.org/en/stable/drivers/raster/sentinel2.html