Checks spectral irradiance data in numeric
vectors for
compliance with assumptions used in calculations.
check_spectrum(w.length, s.irrad)
A single logical
value indicating whether test was passed or
not
numeric vector of wavelengths [
numeric Corresponding vector of spectral (energy) irradiances
[
Other data validity check functions:
check_spct()
,
check_w.length()
,
enable_check_spct()
with(sun.data, check_spectrum(w.length, s.e.irrad))
Run the code above in your browser using DataLab