Generates and Samples Realistic Terrestrial Atmospheres
Overview
Generates physically based sky environment maps and radiance samples using the spectral Hosek-Wilkie and Prague atmosphere models. Functions write high-dynamic-range 'OpenEXR' domes in latitude-longitude projections, compute per-direction RGB or 55-channel values, and optionally composite time-accurate star fields and moon phases. Features include automatic sun and moon positioning from date, time and location, support for sea-level and high-altitude observers, wide-spectrum coefficients, and multithreaded C++ acceleration for fast, high-resolution output. For model details, see Hosek and Wilkie (2012) doi:10.1145/2185520.2185591, Hosek and Wilkie (2013) doi:10.1109/MCG.2013.18, Wilkie et al. (2021) doi:10.1145/3450626.3459758, and Vevoda et al. (2022) doi:10.1111/cgf.14677.
Install
Health
- OK13 OK2026-09-19
- ERROR11 OK, 1 ERROR2026-07-01
- OK9 OK2026-06-28
- ERROR4 OK, 3 ERROR2026-06-27
Documentation
- Help pages
- 43 (30 internal)
- Examples that run
- 100%13 run in a plain check (11 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Commits over time
11 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/tylermorganwall/skymodelr on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-14 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing skymodelr adds 38 packages (26 with compiled code, 29 MB of source tarballs). Heaviest: stringi 11 MB, spacefillr 3.1 MB, libopenexr 2.1 MB.
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2026-06-26
- Total releases
- 3 / 1 yrs
- License
- GPL-3 OSI
- Copyright
- See inst/COPYRIGHTS in the package
- Minimum R
- ≥ 4.3.0
- Bundled data
- 161 KB / 1 file
- Download size
- 666 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("skymodelr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.