View source: R/atlantisfmsy_check.R
| atlantis_checkf | R Documentation |
Test if the active fleet uses the fishing mortality parameter in
Atlantis. Check in the harvest parameters file if the parameter
XXX_effortmodel is equal to 0 (Fishing mortality option) for each
active fleet.
atlantis_checkf(path, harvest_filename, fishing_para)
path |
The directory of the batch or shell file. |
harvest_filename |
The name of the harvest parameters file with its extension (ex: file.prm). |
fishing_para |
A dataframe containing data from the fishing fleet csv
file plus an extra column to indicate if the fleet is active (1) or not (0)
named |
fishing_para The input dataframe fishing_para with an
extra column named effortmodel containing the effortmodel option
used for each fleet.
atlantis_openfile to open a parameters file and select
a parameter, str_split_fixed to split a chain of
characters, and ex_number to extract number from a
chain of characters.
atlantis_checkf("C:/Atlantis/AtlantisEEC/AtlantisEECF_v3", "AEEC_harvest.prm",
fishing_para)
atlantis_checkf("/home/Atlantis/AtlantisEEC/AtlantisEECF_v3", "AEEC_harvest.prm",
fishing_para)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.