Skip to contents

This model which allows for sun angles below the horizon, wide spectral ranges including infrared, polarization, as well rendering at altitude) need to download a coefficient file. There are three versions of this dataset, listed here in order of increasing size:

Usage

download_sky_data(sea_level = TRUE, wide_spectrum = FALSE)

Arguments

sea_level

Default TRUE. Download the sea-level-only data. Set to FALSE to download the full-altitude dataset.

wide_spectrum

Default FALSE. If TRUE, downloads the wide-spectrum (55-channel, polarised) version. Valid only when sea_level = TRUE.

Value

Invisibly, the full path to the data file.

Details

Argument combinationFileSize
sea_level = TRUE, wide_spectrum = FALSESkyModelDatasetGround.dat107MB
sea_level = TRUE, wide_spectrum = TRUEPragueSkyModelDatasetGroundInfra.dat574MB
sea_level = FALSESkyModelDataset.dat2.4GB

Examples

# Standard (11-channel, sea-level) coefficients
download_sky_data()
#> Downloading SkyModelDatasetGround.dat
#> Saved to /home/runner/.local/share/R/skymodelr/SkyModelDatasetGround.dat

# Wide-spectrum sea-level coefficients
download_sky_data(wide_spectrum = TRUE)
#> Downloading PragueSkyModelDatasetGroundInfra.dat
#> Saved to /home/runner/.local/share/R/skymodelr/PragueSkyModelDatasetGroundInfra.dat

# Full altitude-range coefficients
download_sky_data(sea_level = FALSE)
#> Downloading SkyModelDataset.dat
#> Saved to /home/runner/.local/share/R/skymodelr/SkyModelDataset.dat