Hello everyone, I am new to R Studio. I try to calculated Standard Evapotranspiration Index, the formular is same SPI. So i can not calculated it although i calculated normally from SPI. The problem is "Error in compareRaster(rasters) : different extent"
Here is my code and input data:
Although you are providing us with the code and your data, just dumping the files on here will make it less likely that anyone will try to figure out the solution. The goal is to create a small example using a reprex. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:
Also, its important to clearly describe / show an example of the expected output for a given input.