Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lars Dalby
almass
Commits
502ea5d4
Commit
502ea5d4
authored
Jan 18, 2019
by
LDalby
Browse files
remember to pass shell file name as argument
parent
0c3e1754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Grendel/file-dist-fixed-ranges.R
View file @
502ea5d4
...
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment