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