S-file contents are not written to standard netcdfs but are used by read_restart from SDA's perspective it doesn't make sense to write and read to ncdfs because ED restarts from history files

read_S_files(sfile, outdir, pfts, pecan_names = NULL, settings = NULL, ...)

Arguments

sfile

history file name e.g. "history-S-1961-01-01-000000-g01.h5"

outdir

path to run outdir, where the -S- file is

pfts

a named vector of PFT numbers where the names are PFT names

pecan_names

string vector, pecan names of requested variables, e.g. c("AGB", "AbvGrndWood")

settings

pecan settings object

...

currently unused