setup_default_inputs: creates default input values for data file creation

Description Usage Arguments Value Usage

View source: R/setup_default_inputs.R

Description

You must run this function to set up the list needed to pass to create_datpin_files. Once created any of the values can be changes to suit the intended model run

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
setup_default_inputs(
  outDir = getwd(),
  scenarioFlag = "historic",
  temperatureFlag = "true",
  scenarioType = "fixed",
  maxExploitationRate = 30,
  assessmentSpeciesFlag = "none",
  outputFilename = "hydra_sim",
  fillLength = 2000
)

Arguments

outDir

Character string: Path to where output will be saved. Default = current working directory

scenarioFlag

Character string: Speciying a scenario of either "historical", "assessment", "effort". Default = "historical".

temperatureFlag

Character string: Determins whether to use the observed temperature data (true) or the mean (mean). Default = "true"

scenarioType

Character string: Type of assessment scenario. "fixed" or "ramp". (Only used if scenarioFlag is "assessment"). Default = "fixed"

maxExploitationRate

Integer: The level of the maximum exploitation in either "ramp" or "fixed". Valid choices are 5,10,15,20,25,30.(Only used if scenarioFlag is "assessment"). Default value = 30

assessmentSpeciesFlag

Character string: The level of species protection "none", "low", "high". (Only used if scenarioFlag is "assessment"). "none" = specific species are not protected during an assessment, "low" = species are protected at same level as the complex, "high" = elasmobranchs get increased protection". Default = "none"

outputFilename

Character string: Name of the (.dat and .pin) output files. Default = "hydra_sim"

fillLengthInteger

number of character that exist on a line in the output files. If too small. The data wrap to following line. This causes an error at run time. Default = 2000

Value

A list containing the same variables

Usage

Run this function to initially set up the list. If any changes are needed, make them. If any other changes are requrired to other parts of the input data, also make those changes, then run create_datpin_files to generate the .dat and .pin files required for the model run.


NOAA-EDAB/hydradata documentation built on Feb. 3, 2021, 9:02 p.m.