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
fd9912a6
Commit
fd9912a6
authored
Jan 07, 2019
by
LDalby
Browse files
fix path
parent
00ff392a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Grendel/scenario_02_maize-availability_file-dist.R
View file @
fd9912a6
...
...
@@ -47,14 +47,13 @@ cfg <- readLines("/home/ldalby/workspace/Goose/RunDirectory/TIALMaSSConfig.cfg")
nsteps
<-
10
# the number of intervals to split the parameter in
replace_rotation
<-
function
(
new_rot
,
old_rot
,
wd_path
)
{
rot_paths
<-
"/home/ldalby/ALMaSS
_all
/almass/Grendel/rotations/"
rot_paths
<-
"/home/ldalby/ALMaSS/almass/Grendel/rotations/"
focal_rot
<-
path
(
rot_paths
,
new_rot
)
file_copy
(
focal_rot
,
new_path
=
path
(
wd_path
,
old_rot
),
overwrite
=
TRUE
)
}
old_rot
<-
"UserDefinedFarm19.rot"
rot_path
<-
"/home/ldalby/ALMaSS_all/almass/Grendel/rotations"
# Startno scaler - standard maize ----
wdpath
<-
path
(
pathtodirs
,
dirs
[
1
])
...
...
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