Closed Aariq closed 4 years ago
There's only one row with -Inf in the "mon_precip_spi_imputed.csv" file.
I tracked it down to a single value in a single imputation in imputation.R. I don't know why SPEI was -Inf for this particular month/year/site. Now any Inf
values are replaced with NA
before taking the mean of all imputations (with na.rm = TRUE)
There are infinite values in the SPEI wide form dataset for some reason