Read the GMACS control file.

readGMACSctl(FileName = NULL, verbose = TRUE, DatFile = NULL, nyrRetro = NULL)

Arguments

FileName

(character string)- path (and name (e.g. snow.ctl)) of the control 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.

nyrRetro

(integer)- Number of year for the retrospective analysis

Value

the .ctl file as a named list.