Get main input for SCOPE
getinputLUT.RdgetinputLUT extracts one group of SCOPE model input parameters
(a single row, or a set of rows, of a LUT/input table) into the named
list structure expected by the rest of SCOPEinR (leaf biology, meteo,
canopy structure, geometry, soil, coordinates, time series, or multilayer
leaf biochemistry profile). For dataset == 'soil', it also derives
the soil thermal inertia (GAM, via Soil_Inertia0 or
Soil_Inertia1) and, optionally, the soil/canopy resistances
rss/rbs (via calc_rssrbs).
Arguments
- inputLUT
data.frame or matrix. LUT/input table with one column per named parameter (e.g.
N,Cab,LAI,tts,Ta, ...) and one row per simulation.- dataset
character. Which group of parameters to extract; one of
'leafbio','meteo','canopy','angles','soil','Coordinates','mly'or'timeseries'.- calc.heat
numeric. Soil heat flux method used only when
dataset == 'soil':0estimatesGAMwithSoil_Inertia0(fromcs,rhos,lambdas),1estimatesGAMwithSoil_Inertia1(fromSMC), any other value (default2) leavesGAMasNA(soil heat flux computed elsewhere as0.35*Rn).- calc.rss_rbs
numeric. Flag used only when
dataset == 'soil':0(default) usesrss/rbsdirectly frominputLUT; any other value recomputes them fromSMC/LAI/rbsviacalc_rssrbs.