Commit 137288ff authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix(Utils): return the truncated integer value of the mean time step from .GetFeatModel

Refs #106
parent a914dfc6
Pipeline #21797 passed with stages
in 8 minutes and 10 seconds
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
monthly = 365.2425 / 12 * 24, monthly = 365.2425 / 12 * 24,
yearly = 365.2425 * 24) yearly = 365.2425 * 24)
res$TimeStep <- res$TimeStep * 3600 res$TimeStep <- res$TimeStep * 3600
res$TimeStepMean <- res$TimeStepMean * 3600 res$TimeStepMean <- as.integer(res$TimeStepMean * 3600)
res$Class <- c(res$TimeUnit, res$Class) res$Class <- c(res$TimeUnit, res$Class)
if (grepl("CemaNeige", res$NameFunMod)) { if (grepl("CemaNeige", res$NameFunMod)) {
res$Class <- c(res$Class, "CemaNeige") res$Class <- c(res$Class, "CemaNeige")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment