Closed khufkens closed 2 months ago
The R canopy analyzer has a basic CIE model for daylight
https://rdrr.io/cran/rcaiman/src/R/cie_sky_model_raster.R
Will need to find the moonlight component
Seems like the CIE model components mainly deal with diffusion on a defined source. Changing from solar to lunar shouldn't be too difficult from the above code if radiative components can be found for the moon.
Illumina light pollution model: https://github.com/aubema/illumina
Implementing a CIE sky model shouldn't be too difficult. Look up literature and or existing algorithms to complement the current algorithm.