FRAM is stored in an access database; these have hard size limits of 2GB. Chinook and Coho are expected to reach this limit with ~540 runs. This function includes a failsafe to prevent databases from exceeding 500 runs. This can be overridden with optional force_many_runs argument.
Usage
copy_run(
fram_db,
target_run,
times = 1,
label = "copy",
force_many_runs = FALSE,
verbose = TRUE
)Arguments
- fram_db
FRAM database object
- target_run
Run ID to be copied from
- times
Number of copies
- label
Label of each copy e.g. copy 1, copy 2
- force_many_runs
copy_runshas failsafe to keep total run number no more than 500. This is expected to be the approximate limit for .mdb file size after runs have been run. Whenforce_man_runsisTRUE, ignore this failsafe.- verbose
Show warning message about run count? Official FRAM is hard-coded to only handle databases with <= 150 runs in them. If
TRUE(default), provides alert when updated database will exceed this.