Commit da2680b0 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix(Utils): change the CemaNeige class in the FeatModelsGR table

Refs #106
parent 54818ce0
Pipeline #21794 passed with stages
in 8 minutes and 5 seconds
......@@ -57,9 +57,9 @@
res$TimeStep <- res$TimeStep * 3600
res$Class <- c(res$TimeUnit, res$Class)
if (grepl("CemaNeige", res$NameFunMod)) {
res$Class <- unique(c(res$Class, "CemaNeige"))
res$Class <- c(res$Class, "CemaNeige")
}
res$Class <- res$Class[!is.na(res$Class)]
if (!is.null(DatesR)) {
if (all(DiffTimeStep != res$TimeStep)) {
stop("the time step of the model inputs must be ", res$TimeUnit, "\n")
......
......@@ -6,7 +6,7 @@ GR5J;GR5J;5;daily;NA;GR;airGR
GR6J;GR6J;6;daily;NA;GR;airGR
GR4H;GR4H;4;hourly;NA;GR;airGR
GR5H;GR5H;5;hourly;NA;GR;airGR
CemaNeige;CemaNeige;2;NA;NA;CemaNeige;airGR
CemaNeige;CemaNeige;2;NA;NA;NA;airGR
CemaNeigeGR4J;CemaNeigeGR4J;6;daily;NA;GR;airGR
CemaNeigeGR5J;CemaNeigeGR5J;7;daily;NA;GR;airGR
CemaNeigeGR6J;CemaNeigeGR6J;8;daily;NA;GR;airGR
......
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