Skip to content

Commit

Permalink
using app now
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikKusch committed Jun 25, 2024
1 parent b2ccee2 commit c45c583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Temporal.R
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Temporal.Aggr <- function(CDS_rast, BaseResolution, BaseStep,
# }

if(length(unique(AggrIndex)) == 1){ ## this is to avoid a warning message thrown by terra
Final_rast <- tapp(x = CDS_rast,
Final_rast <- app(x = CDS_rast,
cores = Cores,
fun = FUN)
}else{
Expand Down

0 comments on commit c45c583

Please sign in to comment.