View source: R/atlantisfmsy_check.R
atlantis_avbiomsp | R Documentation |
It opens the output file BiomIndx.txt
and calculates the
average biomass of the selected functional group func_grp
over the 5
last years of simulation. If the average biomass is smaller than 0.1 metric
tons, the stock is considered collapsed and it returns 0.
atlantis_avbiomsp(func_grp, path, exe_name, run_time, batch_file = NULL)
func_grp |
The code of the Atlantis functional group for which Fmsy will be estimated. |
path |
The directory of the batch or shell file. |
exe_name |
The name of the atlantis executable you used (ex: atlantismain, atlantisNew). |
run_time |
The total duration of the simulation in days
( |
batch_file |
The name of the batch/shell file you are using to run your
model. If not provided, the function will search for the unique batch file
in your |
biom_sp
The average biomass of the 5 last years of simulation.
Return 0 if biom_sp
< 0.1.
atlantis_paraselect
for parameters file selection, and
read.table
to open table stored in text files (.txt,
.csv ...).
atlantis_avbiomsp("COD", "C:/Atlantis/AtlantisEEC/AtlantisMSY/COD", "atlantismain", 18250, "runAtlantis.bat") atlantis_avbiomsp("COD", "/home/Atlantis/AtlantisEEC/AtlantisMSY/COD", "atlantisNew", 18250, "runAtlantis.sh")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.