Commit 502ea5d4 authored by LDalby's avatar LDalby
Browse files

remember to pass shell file name as argument

parent 0c3e1754
......@@ -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])
edit_bat(wd)
edit_bat(wd, "_01_BatchLoop.sh")
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