This functions reads the gmacs.rep file (report file) as a named list within R.

readGMACSrep(
  FileName = NULL,
  verbose = TRUE,
  DatFile = NULL,
  CtlFile = NULL,
  nyrRetro = NULL
)

Arguments

FileName

(character string)- path (and name (e.g. gmacs.rep)) of the report file

verbose

(logical)- (TRUE/FALSE); flag to print processing information

DatFile

(list)- Object containing the .dat file - This is the output of the readGMACSdat() function.

CtlFile

(list)- Object containing the .ctl file - This is the output of the readGMACSctl() function.

nyrRetro

(integer)- Number of year for the retrospective analysis

Value

the gmacs.rep file as a named list.