atlantis_lastsimu: Look for last F simulated.

View source: R/atlantisfmsy_simurestart.R

atlantis_lastsimuR Documentation

Look for last F simulated.

Description

It looks for the last value of F simulated. It searches through all the output files generated by Atlantis in the output_path. And looks for the files created the most recently using file.info.

Usage

atlantis_lastsimu(output_path, last_run = NULL)

Arguments

output_path

The directory of the simulations outputs for the functional group considered.

last_run

The name of the output file of the last simulation run before atlantisfmsy_simu stopped. The name of the output have to be the same as the one in the batch/shell file used to run Atlantis. The default value is NULL.

Value

A list containing a vector with the names of each files in output_path and the value of the last F simulated in y-1.

See Also

file.info to recover files description.

Examples

atlantis_lastsimu("C:/Atlantis/AtlantisEEC/AtlantisMSY/COD/output")
atlantis_lastsimu("/home/Atlantis/AtlantisEEC/AtlantisMSY/COD/output")

rgirardi/atlantisfmsy documentation built on Aug. 30, 2022, 9:11 a.m.