Aggregates MODTRAN data over SCOPE bands by averaging
aggreg.Rdaggreg reads a MODTRAN .atm output file and averages six
relevant atmospheric radiative transfer quantities (extraterrestrial solar
irradiance, hemispherical reflectance, direct and diffuse transmittances,
and path radiance) onto the (possibly coarser, multi-resolution) SCOPE
spectral band definition.
Arguments
- atmfile
character. Path to a MODTRAN
.atmtext file with a header row, wavelength in column 2, and the relevant transmittance/radiance functions in columns 3-20.- SCOPEspec
list. SCOPE spectral band definition, with elements
nreg(number of spectral regions),start(start wavelength of each region, nm),end(end wavelength of each region, nm), andres(spectral resolution of each region, nm).