SkyViewFraction vs DirectThroughFall
This issue was reported by Isabelle igouttevin.
The cn_TotalAlbedo function from Canopy.cc uses ""SkyViewFactor"" as formal parameter. The function is however called with ""Xdata.Cdata.direct_throughfall"" as actual argument. This is in my opinion misleading as physically, SkyViewFactor and direct_throughFall are not equal. SkyViewFraction is the hemispheric fraction of sky seen from a point on the ground. DirectThroughFall is the projected fraction of canopy gaps on the ground. Ref : Jennings et al., 1999; Rasmus et al., 2013.
Therefore I suggest to use a formal parameter called ""DirectThroughFall"" in the cn_TotalAlbedo function.