percentile examples added in documentation
-
Author Developer
Hi @nperez,
I revised the ftime/time names used in the two functions with/without CST_ prefix. Here in the commit, I can see those changes. But I found in CI/CD log file it did not run the updated script as follows.
exp <- CSTools::lonlat_data$exp DOT <- CST_TotalTimeExceedingThreshold(exp, threshold = 280, time_dim = 'ftime') exp$data <- array(rnorm(5 * 3 * 214 * 2, mean = 25, sd = 3), > + c(memb = 5, sdate = 3, time = 214, lon = 2)) exp$Dates[[1]] <- c(seq(as.Date("01-05-2000", format = "%d-%m-%Y"), > + as.Date("30-11-2000", format = "%d-%m-%Y"), by = 'day'), > + seq(as.Date("01-05-2001", format = "%d-%m-%Y"), > + as.Date("30-11-2001", format = "%d-%m-%Y"), by = 'day'), > + seq(as.Date("01-05-2002", format = "%d-%m-%Y"), > + as.Date("30-11-2002", format = "%d-%m-%Y"), by = 'day')) #threshold <- QThreshold() SU35 <- CST_TotalTimeExceedingThreshold(exp, threshold = 35) > Error in Apply(list(data), target_dims = time_dim, fun = .exceedthreshold, : > Could not find dimension 'ftime' in 1th object provided in 'data'.
Do you know why it ran the older script?
Thanks in advance.
Chung
-
Maintainer
No, I don't know.
Please register or sign in to comment