Can not calculate monthly Standard Evapotranspiration Index

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:
Thanks very much.


Welcome to the RStudio community!

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.

Good luck,

Thanks Mr. PJ, my output i need is Standard Evapotranspiration Index format GeoTIFF, same input data.
The process include:

  1. Import data, the format is GeoTIFF in DOY folder
  2. Calculate Standard Deviation and mean from input data
  3. Export output are GeoTIFF and JPG format
    My problem i think is my input data. The previous input data i run is normaly but when i update it not run success. Previous input data bellow this link:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.