I'm working with several large raster datasets that I want to use in the raster calculator:
("Fusion_LCM_AGRO_raster@1" * 0.3) +("Streams_AGRO_raster@1" * 0.3) +("Raster_FloodRisk_AGRO@1" * 0.2) +("Soils_class_agrofor@1" * 0.1) +("DEM_TOTAL_AGRO_v2@1" * 0.05) +("Roads_raster@1" * 0.05)
The spatial extent is approximately 2,500,000 square kilometers.
I keep getting incorrect results. The output raster is either cropped, with missing areas, or it is exported but cannot be opened in QGIS, displaying the error:
"Data source '[...]' is not a valid or recognized data source."
I suspect the issue is related to the output file size. I've noticed that when the file is corrupted and triggers this error, its size is exactly 3.99 GB, which is the file size limit for a .tif format.
One solution could be to split my rasters into smaller fragments and process them separately.
Do you think there might be another alternative to resolve this issue?
I don't have many options on the raster calculator. Maybe using another output file format ?