Performing Raster calculator with a raster of size about 750 mb and it is showing an error of insufficient memory .
Ram : 8 GB
I have a huge space available at the location where it has to be saved.
Basically input raster is for 250 m NDVI in hdf format. I converted this hdf format to tif and then merged all tif to one merged file with GDAL. now when I am applying raster calculator on this input , it shows the error for insufficient memory.
Input raster Size is about : 750 MB.
compression is not done.
Output format needed is tif
Best Answer
Here's a solution in R based on the OP's comments:
Note, you could write a loop, if you have multiple rasters to start with, or alternately explore the stack function in the raster package to stack them and run the calc function on that stack, and then write it out.
Example: