I have rasters for the same area (same polygon) but I am not sure why they have different extent. I had an supervised classified layer of the initial DEM and secondary variables that do not match the extent of the source. I georeferenced one of the layers so the different extent makes sense but now I need to match the extent of 60+ rasters to the original raster. I saw online posts for Alignraster in R and read through multiple forums with their script in R but their issue is a bit different than mine since my layers are all the same area, same site, shape etc. but are slightly offset.
Theoretically, what approach would you recommend to batch process or loop through the stack?