qc_coordinates: Commodity function to check site coordinates

Description Usage Arguments See Also

View source: R/qc_coordinates_functions.R

Description

Wrap around qc_check_coordinates and qc_fix_latlong_errors to process coordinates data in one step

Usage

1
2
3
qc_coordinates(data, maps_folder = getwd(), plot = FALSE,
  text_report = TRUE, sign_errors = TRUE, special_countries = TRUE,
  parent_logger = "test")

Arguments

data

Data frame with data coming from qc_check_coordinates (with latitude, longitude, country and is_inside_country variables).

maps_folder

Folder route where the maps are stored, by default the working directory. It must be a character object and it must end without /.

plot

Logical indicating if plots for coordinate are created and saved in the working directory. By default, plot are not saved.

text_report

Logical indicating if a text report is showed in the console after checking coordinates. By default, a report is showed in the console.

sign_errors

Logical indicating if sign errors must be checked and fixed. If TRUE (default), qc_coord_sign_test is internally called.

special_countries

Logical indicating if the special approach to countries having positive and negative coordinates must be used. See qc_fix_latlong_errors for details.

See Also

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