bluegreen-labs / skylight

A Simple Sky Illuminance Model
https://bluegreen-labs.github.io/skylight/
GNU Affero General Public License v3.0
4 stars 1 forks source link

Expand with CIE sky model #2

Closed khufkens closed 2 months ago

khufkens commented 2 years ago

Implementing a CIE sky model shouldn't be too difficult. Look up literature and or existing algorithms to complement the current algorithm.

khufkens commented 2 years 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

khufkens commented 2 years ago

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.

khufkens commented 2 years ago

https://www.researchgate.net/publication/6318780_Light-pollution_model_for_cloudy_and_cloudless_night_skies_with_ground-based_light_sources

khufkens commented 2 years ago

Illumina light pollution model: https://github.com/aubema/illumina