Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SimAquaLife
GR3D
Commits
d6fc7b15
Commit
d6fc7b15
authored
Apr 20, 2021
by
Poulet Camille
Browse files
Change XMl for growth calibration
parent
10262818
Changes
1
Hide whitespace changes
Inline
Side-by-side
exploration/GR3D_Rdescription/GR3D_NEA_XML_parameters.R
View file @
d6fc7b15
library
(
XML
)
#read the XML file to upload the set of parameters included in GR3D-US
fishXML
<-
xmlToList
(
xmlParse
(
"../../data/input/northeastamerica/fishRIOBasin_Sapidissima.xml"
))
fishXML
<-
xmlToList
(
xmlParse
(
"../../data/input/northeastamerica/fishRIOBasin_Sapidissima
_Old
.xml"
))
#Upload parameters linked to reproduction
reproducePar
=
data.frame
(
t
(
unlist
(
fishXML
[[
1
]][[
"processes"
]][[
"processesEachStep"
]][[
"species.Reproduce
AndSurviveAfterReproduction
WithDiagnose"
]])))
%>%
reproducePar
=
data.frame
(
t
(
unlist
(
fishXML
[[
1
]][[
"processes"
]][[
"processesEachStep"
]][[
"species.ReproduceWithDiagnose"
]])))
%>%
select
(
-
c
(
synchronisationMode
,
reproductionSeason
,
proportionOfFemaleAtBirth
,
sigmaRecruitment
,
maxNumberOfSuperIndividualPerReproduction
,
withDiagnose
,
displayFluxesOnConsole
))
%>%
...
...
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