0

There is a problem with exporting a Landsat-based composite which I show in below image. Exported image was cut into two mutually exclusive regions which together make the whole area.

enter image description here

Can I export the composite as one raster file?

print (roi) // feature collection with 44 elements

// Creating the composite 
var composite = ee.ImageCollection("LANDSAT/LC08/C02/T1_TOA")
             .filterBounds(roi)
             .filterDate('2015-04-01','2015-07-01')
             .select(['B1','B2','B3','B4','B5','B6','B7'])
             .reduce(ee.Reducer.mean()); 
             
// Exporting the composite
Export.image.toDrive({
  image: composite.clipToCollection(roi),
  description: 'composite1',
  folder: 'composite1',
  crs: 'EPSG:32638',
  region: roi.geometry().bounds(),
  scale: 30,
  maxPixels: 1e13
});

link to the GEE code

link for my roi

3
  • Thank you Daniel. I have just looked at your suggested answer. Could you just tell me what you mean by VRT? and I would appreciate if you have any advice on how to export huge raster file (like composite Landsat data on national level) from GEE.
    – rez
    Commented Nov 24, 2022 at 9:56
  • VRT: gdal.org/drivers/raster/vrt.html Commented Nov 24, 2022 at 10:02
  • You can in principal do what you're doing. If you're having problems with the export, you can tile your region and export the tiles individually. Commented Nov 24, 2022 at 10:03

0

Browse other questions tagged or ask your own question.