Package: skymodelr 0.7.1
skymodelr: Generates and Samples Realistic Terrestrial Atmospheres
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>.
Authors:
skymodelr_0.7.1.tar.gz
skymodelr_0.7.1.tgz(r-4.6-x86_64)skymodelr_0.7.1.tgz(r-4.6-arm64)skymodelr_0.7.1.tgz(r-4.5-x86_64)skymodelr_0.7.1.tgz(r-4.5-arm64)
skymodelr_0.7.1.tar.gz(r-4.7-arm64)skymodelr_0.7.1.tar.gz(r-4.7-x86_64)skymodelr_0.7.1.tar.gz(r-4.6-arm64)skymodelr_0.7.1.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
skymodelr/json (API)
| # Install 'skymodelr' in R: |
| install.packages('skymodelr', repos = c('https://tylermorganwall.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tylermorganwall/skymodelr/issues
Pkgdown/docs site:https://www.skymodelr.com
Last updated from:99aa0e9934. Checks:9 OK, 6 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 123 | ||
| linux-devel-x86_64 | OK | 197 | ||
| source / vignettes | OK | 205 | ||
| linux-release-arm64 | OK | 169 | ||
| linux-release-x86_64 | OK | 140 | ||
| macos-release-arm64 | OK | 162 | ||
| macos-release-x86_64 | OK | 423 | ||
| macos-oldrel-arm64 | OK | 129 | ||
| macos-oldrel-x86_64 | OK | 269 | ||
| windows-devel-arm64 | FAIL | 177 | ||
| windows-devel-x86_64 | FAIL | 89 | ||
| windows-release-arm64 | FAIL | 231 | ||
| windows-release-x86_64 | FAIL | 86 | ||
| windows-oldrel-x86_64 | FAIL | 89 | ||
| wasm-release | FAIL | 123 |
Exports:calculate_sky_radiancecalculate_sky_valuescalculate_sun_brightnessclear_sky_datadownload_sky_datagenerate_moon_diskgenerate_moon_latlonggenerate_planetsgenerate_skygenerate_sky_latlonggenerate_starsgenerate_sun_diskget_prague_sky_metadatalist_sky_data
Dependencies:base64encclicpp11crayondecidodigestgluehmsjpegjsonlitelibimathlibopenexrlifecyclemagrittrpillarpkgconfigpngprettyunitsprogressR6raggrayimagerayvertexRcppRcppArmadilloRcppThreadrlangspacefillrstbimageheadersstringiswephRsystemfontstextshapingtibbletifftinydngutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Sample Prague sky radiance over directions and wavelengths | calculate_sky_radiance |
| Sample a direction from the Prague model. | calculate_sky_values |
| Sample sun luminance at the disk center. | calculate_sun_brightness |
| Clear cached sky data files | clear_sky_data |
| Download Prague Sky Model Coefficient Data | download_sky_data |
| Generate the atmosphere with the moon | generate_moon_latlong |
| Generate a bright-planet image array | generate_planets |
| Generate a Hosek-Wilkie sky dome array | generate_sky |
| Generate a location and time-specific sky dome (optionally with stars) | generate_sky_latlong |
| Generate a star-field array aligned with 'generate_sky()' | generate_stars |
| Generate Sun and Moon Disk Radiance Images | generate_moon_disk generate_sun_disk |
| Prepare Location and Time Metadata for Native Prague Sky Queries | get_prague_sky_metadata |
| List cached sky data files | list_sky_data |
