Please, someone help me to calculate Potential Evapotranspiration (PET) using raster temperature?
Summary This postmortem analyzes a failure that occurred when attempting to compute Potential Evapotranspiration (PET) using the Thornthwaite method in R. The issue stemmed from incorrectly deriving per‑pixel latitude from a raster stack, leading to invalid PET outputs and runtime errors. Root Cause The root cause was the misuse of: yFromCell(Temperature_stack, 1:nrow(Temperature_stack)) This call returns … Read more