check_prospect_parms: Function to check good agreement between prospect version and...

View source: R/Lib_PROSPECT_Inversion.R

check_prospect_parmsR Documentation

Function to check good agreement between prospect version and parameter list

Description

Function to check good agreement between prospect version and parameter list

Usage

check_prospect_parms(
  PROSPECT_version,
  Parms2Estimate,
  Est_Brown_Pigments,
  Est_alpha,
  xlub,
  InitValues
)

Arguments

PROSPECT_version

character. version used for inversion: 'D' or 'PRO'

Parms2Estimate

character vector. Parameters to estimate (can be 'ALL')

Est_Brown_Pigments

boolean. should brown pigments be accounted for during inversion?

Est_alpha

boolean. should alpha be accounted for during inversion?

xlub

data.frame. Boundaries of the parameters to estimate. The data.frame must have columns corresponding to Parms2Estimate first line being the lower boundaries and second line the upper boundaries.

InitValues

dataframe. Default values of PROSPECT parameters. During optimization, they are used either as initialization values for parameters to estimate, or as fix values for other parameters. Parameters not compatible with PROSPECT_version are not taken into account.

Value

list of parameters to estimate & corresponding lower/upper boundaries


jbferet/prospect documentation built on Feb. 10, 2025, 9:35 a.m.