qc_out_remove: Outliers QC

Description Usage Arguments Details Value See Also

Description

Outliers detection, substitution and annotation for SfnData objects

Usage

1
2
qc_out_remove(sfn_data, k = 25L, t0 = 10L, method = "hampel",
  reverse = TRUE, substitute = FALSE, parent_logger = "test")

Arguments

sfn_data

SfnData object with the site data and metadata

k

window semi-value (integer) for substitution value calculation. See out_hampel_filter for details.

t0

Integer value indicating the number of standard deviations for outlier detection threshold.

method

Character vector indicating the method to use in the outlier estimation: hampel (default), tukey and quantile.

reverse

Logical indicating if in case of k is bigger than the data length (i.e in the extremes of the vector) a reverse replication must be done. Default to TRUE.

substitute

Logical indicating if the outlier subsitution must be made. Default to FALSE.

Details

Outliers for sap flow data and environmental data are located and substituted by the selected method, using the out_hampel_filter function.

Value

a SfnData object as the one provided with the oulier values substituted and the flags slot updated.

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_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.