I have a set of rasters (.vrt) with daily soil moisture data. I want to sum the pixels of all rasters in order to have a measure by month. However, the whole world is not covered each day, which results in nodata values at places where measures exist for the other days.
What I want to do, is sum the values of each raster. However, it seems that each time a nodata pixel is in the sum, the resulting pixel is directly categorized as nodata. I would like to have the opposite: ignoring all nodata values and summing the rest.
I thought of 2 ways of solving the problem:
- summing rasters ignoring nodata values
- converting nodata pixels to value 0, then sum all the rasters
Unfortunately, I can't find any tool to do this.
Can anyone help me?