Retrieve the results of a TUV run
Arguments
- file
one of "out_irrad_y", "out_aflux_y", "out_irrad_ave", "out_aflux_ave", "out_irrad_atm", "out_aflux_atm". Default is
"out_irrad_y", for input intop_abs().- tuv_dir
the directory where the compiled TUV executable is located
Value
A data.frame with the results of the TUV run. It contains columns specifying wavelength and calculated Kd(lambda), and a column for each timestamp containing the irradiance at that time and wavelength, in W m-2 nm-1.
For marine runs, the kd_model attribute is a one-row data frame describing
the marine light attenuation model used (see marine_kd_model()): area,
ecoregion, water_type, season, Kd_ref, Kd_wvl, Sk, r2, the
quality flags nodata, peak, vpf_area, and vpf_time, and dist_km.
Kd_ref, Kd_wvl, and Sk are the values used, including any overrides.