qc_sapw_area_calculator: Sapwood area calculator

Description Usage Arguments Details Value Ring area formula See Also

View source: R/qc_unit_transformations.R


Function to calculate sapwood area from DBH, bark thickness and sapwood depth


qc_sapw_area_calculator(pl_vars, parent_logger = "test")



Data frame containing the needed variables, usually the result of qc_get_sapw_md.


In the case that sapwood area variable (pl_sapw_area) is not provided, it still is needed to perform the unit conversion. In this case sapwood area can be estimated from DBH and sapwood depth and bark thickness. If bark thickness is not provided, estimation can be made but results should be revised as, depending on the species, error in the estimates can be large.


A data frame, exactly as returned by qc_get_sapw_md, but with the variable pl_sapw_area_est filled with the estimated values.

Ring area formula

The area of a ring is π(R² - r²), where R is the radius including the ring and r is the radius till the ring. Thus, R = (dbh / 2) - bark_thickness and r = (dbh / 2) - bark_thickness - sapwood_depth.

See Also

Other Quality Checks Functions: create_dic, qc_coordinates, qc_data_results_table, qc_env_ranges, qc_env_vars_presence, qc_ext_radiation, 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_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 April 11, 2018, 4:28 a.m.