Skip to content

CanopyOptics v0.2.1

Choose a tag to compare

@cfranken cfranken released this 07 Nov 02:55
be944ad

Use one normalized leaf-inclination quadrature for canopy projection and scattering, fixing artificial absorption/scattering from inconsistent discrete leaf populations.

  • Apply the shared measure to bi-Lambertian scattering, mixed components, specular normalization and 4SAIL.
  • Add the quadrature keyword to G, component_G and bulk_G. The default projection resolution now follows CanopyQuadrature().n_leaf; explicit nLeg remains supported.
  • Add Float32/Float64 regression coverage for conservative scattering and non-default leaf quadratures.

Validation: 85,617 local tests passed on Julia 1.12.6; hosted documentation build passed. Finite outgoing-angle quadrature error remains; no flux or APAR renormalization is applied.

Fix: #63
Downstream integration: RemoteSensingTools/vSmartMOM.jl#243

Also included from main since v0.2.0:

  • Tracked 4SAIL implementation and tutorials for flux decomposition, hotspot and polar BRDF examples.
  • TreeCanopy convenience constructors and type-stable canopy components.
  • Fresh-leaf microwave dielectric model and documentation.
  • Dielectric input validation now raises ArgumentError; callers catching AssertionError should update.
  • Removal of the unfinished, nonfunctional forest prototype and its exports (wood_forward, wood_backward, afsal, asal, abs_components), together with its unused dependencies.

These previously unreleased changes were already on main before the quadrature fix. See the complete comparison.