Skip to content

Commit

Permalink
.importThermalData fixed to be compatible with data daily format
Browse files Browse the repository at this point in the history
  • Loading branch information
berthetclement committed Jun 4, 2024
1 parent 8979d09 commit 53daa93
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions R/importInput.R
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,13 @@

data$area <- area
data$cluster <- cl
data <- data[opts$timeIdMin:opts$timeIdMax]
data$timeId <- opts$timeIdMin:opts$timeIdMax

# index blocks
a <- opts$parameters$general$simulation.start
b <- opts$parameters$general$simulation.end

data <- data[a:b]
data$timeId <- a:b

changeTimeStep(data, timeStep, "daily", fun = "mean")
})
Expand Down

0 comments on commit 53daa93

Please sign in to comment.