qc_ext_radiation: Solar time conversion

Description Usage Arguments Details Value Apparent (Real) Solar Time See Also

Description

Calculate the Extraterrestrial Radiation from the TIMESTAMP

Usage

1
2
qc_ext_radiation(data, site_md, add_solar_ts = FALSE,
  parent_logger = "test")

Arguments

data

Environmental data frame containing the TIMESTAMP variable.

site_md

Data frame containing the latitude and longitude variables of the site (si_lat and si_long)

add_solar_ts

Logical indicating if solar timestamp must be added to the environmental data frame.

Details

This function uses several functions from solaR package in order to obtain the mean solar time, the equation of time for each day included in the TIMESTAMP and the extraterrestrial radiation for each step of the TIMESTAMP.

Value

A data frame exactly as data, but with an additional column containing the extraterrestrial radiation in W/m2, and optionally another column containing apparent solar timestamp.

Apparent (Real) Solar Time

The Apparent Solar Time is calculated as:

Apparent Solar Time = Mean Solar Time + Equation of Time

The Equation of Time is calculated for each day, whereas the Mean Solar Time is calculated for each step of the TIMESTAMP.

See Also

Other Quality Checks Functions: create_dic, qc_coordinates, qc_data_results_table, qc_env_ranges, qc_env_vars_presence, qc_factor_values, qc_fix_timestamp, qc_get_biomes_spdf, qc_get_biome, qc_get_sapw_md, qc_get_timestep, qc_get_timezone, qc_is_timestamp, qc_md_cols, qc_md_results_table, qc_mind_the_gap_eff, qc_mind_the_gap, qc_out_hampel_filter, qc_out_of_range, qc_out_remove, qc_outliers_process, qc_outliers_subs, qc_pl_treatments, qc_rad_conversion, qc_range_dic, qc_sapf_ranges, qc_sapw_area_calculator, qc_sapw_conversion, qc_set_timezone, qc_soil_texture, qc_species_names_info, qc_species_names, qc_species_verification, qc_start_process, qc_swc_check, qc_swc_fix, qc_time_interval, qc_timestamp_concordance, qc_timestamp_errors, qc_timestamp_nas


sapfluxnet/sapfluxnetQC1 documentation built on May 29, 2019, 1:50 p.m.