Commit 0c3e1754 authored by LDalby's avatar LDalby
Browse files

Adapt to new version of edit_bat()

parent b12fee8c
......@@ -134,7 +134,7 @@ seq(1.0, 1.1, length.out = nsteps) %>%
# Edit the bat, ini and cfg files to match the parameters set above:
for (i in seq_along(dirs)) {
wd = path(pathtodirs, dirs[i])
EditBat(wd)
edit_bat(wd)
EditIni(WorkDir = wd, Model = "goose", NYear = years + 1)
EditConfig(file = path(wd, "TIALMaSSConfig.cfg"), config = "GOOSE_MODELEXITDAY", value = 31 + years*365)
EditConfig(file = path(wd, "TIALMaSSConfig.cfg"), config = "MAP_WEATHER_FILE", value = "Vejlerne2011-2014.pre")
......
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