View source: R/atlantisfmsy_core.R
atlantis_bachchange | R Documentation |
It modifies the name of the output files for the future run in
the batch/shell file used to run Atlantis. The name is coded with the code
of the functional group selected func_grp
and the value of F that
will be tested f_test
(example: For func_grp
= "COD" with a
f_test
= 0.0002739726 (0.1 y-1) the output file prefix will be
MSY_COD_F010).
atlantis_bachchange( func_grp, path, exe_name, f_test, batch_file = NULL, msy = TRUE, output = TRUE )
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). |
f_test |
The new value of total fishing mortality to be tested in days. |
batch_file |
The name of the batch/shell file with extension you are using
to run your model. If not provided, the function will search for the unique
batch file in your |
msy |
Add msy to the outputs names or not. Default: TRUE. |
output |
Return |
f_test
The new value of total fishing mortality to be tested
in days, and modify batch/shell Atlantis run file.
Only work if fmax
< 10 y-1.
atlantis_openfile
to open a parameters file and select
a parameter.
atlantis_bachchange("COD", "C:/Atlantis/AtlantisEEC/AtlantisMSY/COD", "atlantismain", 0.0002739726, "runAtlantis.bat") atlantis_bachchange("COD", "/home/Atlantis/AtlantisEEC/AtlantisMSY/COD", "atlantisNew", 0.0002739726, "runAtlantis.sh")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.