cboisvenue / spadesCBM_RIA

Western Boreal Initiative implementation of CBM-CFS3 (spadesCBM) for the RIA (5 TSAs in BC).
0 stars 2 forks source link

need to correct which variables defined the factor levels for the growth curves #3

Open cboisvenue opened 3 years ago

cboisvenue commented 3 years ago

In the RIA project, factor levels are defined using two columns in the $level3DT (see $curveID for column names). But the factor levels should be really be defined by the meta data for all gc, which in the case of the RIA project is the sim$gcMetaAllCols. This is not a problem for the results as all the curves are used in the initial set of pixelGroups (so they are all present in the sim$level3DT). This may not always be the case. The SK example (cboisvenue/spadesCBM) uses the $gcMeta. This one can be used as an example.

cboisvenue commented 3 years ago

The changing to the growth curves meta data for determine the factor levels did not work for the SK code. This issue still needs to be resolved.