I'm working on many rasters to get one final raster to represent the average level.
I've 365 continuous rasters: each raster represents the daily tempeature in a region. One raster to be generated: to average daily values of 365 rasters to reflect the temperature level within a year.
I'm not sure if the code below is correct or not?
temperature_average<- calc(h, mean) ## h is a stack of 365 rasters (daily temperature) in 2020
Is there a way to reaching this purpose? Much appreciated for any guidance.