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
93f723de
Commit
93f723de
authored
Jan 07, 2019
by
LDalby
Browse files
Fix bug in path for rotations
parent
275586a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Grendel/scenario_02_maize-availability_file-dist.R
View file @
93f723de
...
...
@@ -67,7 +67,7 @@ wdpath <- path(pathtodirs, dirs[1])
seq
(
1
,
10
,
length.out
=
nsteps
)
%>%
round
()
%>%
GenerateParams
(
"GOOSE_STARTNO_SCALER"
=
.
,
write
=
TRUE
,
path
=
wdpath
)
replace_rotation
(
new_rot
=
path
(
rot_path
,
"UserDefinedFarm191.rot"
)
,
replace_rotation
(
new_rot
=
"UserDefinedFarm191.rot"
,
old_rot
=
old_rot
,
wd_path
=
wdpath
)
...
...
@@ -76,7 +76,7 @@ wdpath <- path(pathtodirs, dirs[1])
seq
(
1
,
10
,
length.out
=
nsteps
)
%>%
round
()
%>%
GenerateParams
(
"GOOSE_STARTNO_SCALER"
=
.
,
write
=
TRUE
,
path
=
wdpath
)
replace_rotation
(
new_rot
=
path
(
rot_path
,
"UserDefinedFarm192.rot"
)
,
replace_rotation
(
new_rot
=
"UserDefinedFarm192.rot"
,
old_rot
=
old_rot
,
wd_path
=
wdpath
)
...
...
@@ -85,7 +85,7 @@ wdpath <- path(pathtodirs, dirs[1])
seq
(
1
,
10
,
length.out
=
nsteps
)
%>%
round
()
%>%
GenerateParams
(
"GOOSE_STARTNO_SCALER"
=
.
,
write
=
TRUE
,
path
=
wdpath
)
replace_rotation
(
new_rot
=
path
(
rot_path
,
"UserDefinedFarm193.rot"
)
,
replace_rotation
(
new_rot
=
"UserDefinedFarm193.rot"
,
old_rot
=
old_rot
,
wd_path
=
wdpath
)
...
...
@@ -100,7 +100,7 @@ wdpath <- path(pathtodirs, dirs[1])
seq
(
1
,
10
,
length.out
=
nsteps
)
%>%
round
()
%>%
GenerateParams
(
"GOOSE_BN_STARTNO_SCALER"
=
.
,
write
=
TRUE
,
path
=
wdpath
)
replace_rotation
(
new_rot
=
path
(
rot_path
,
"UserDefinedFarm191.rot"
)
,
replace_rotation
(
new_rot
=
"UserDefinedFarm191.rot"
,
old_rot
=
old_rot
,
wd_path
=
wdpath
)
...
...
@@ -109,7 +109,7 @@ wdpath <- path(pathtodirs, dirs[1])
seq
(
1
,
10
,
length.out
=
nsteps
)
%>%
round
()
%>%
GenerateParams
(
"GOOSE_BN_STARTNO_SCALER"
=
.
,
write
=
TRUE
,
path
=
wdpath
)
replace_rotation
(
new_rot
=
path
(
rot_path
,
"UserDefinedFarm192.rot"
)
,
replace_rotation
(
new_rot
=
"UserDefinedFarm192.rot"
,
old_rot
=
old_rot
,
wd_path
=
wdpath
)
...
...
@@ -118,7 +118,7 @@ wdpath <- path(pathtodirs, dirs[1])
seq
(
1
,
10
,
length.out
=
nsteps
)
%>%
round
()
%>%
GenerateParams
(
"GOOSE_BN_STARTNO_SCALER"
=
.
,
write
=
TRUE
,
path
=
wdpath
)
replace_rotation
(
new_rot
=
path
(
rot_path
,
"UserDefinedFarm193.rot"
)
,
replace_rotation
(
new_rot
=
"UserDefinedFarm193.rot"
,
old_rot
=
old_rot
,
wd_path
=
wdpath
)
...
...
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