revise_locaiton: Revise meteorological station's location error

View source: R/st-revise_locaiton_multi.R

revise_locaitonR Documentation

Revise meteorological station's location error

Description

Revise meteorological station's location error

Usage

revise_locaiton(
  d,
  prefix = "",
  dist_max = 100,
  score_min = 2,
  vars_rm = c("date_begin", "date_end", "n_all"),
  verbose = 2
)

Arguments

d

A data.frame with the columns at least of dist, lon, lat, alt and n_period, QC

score_min

if distance score lower than score_min, will not fix

vars_rm

variables not shown in the console

Value

sites with not outliers, QC = "";

sites with not outliers, for outliers, QC equals: score = 0: unfixed score = 1: marginal quality fixed score = 2: good quality fixed


kongdd/RHtestsHelper documentation built on April 18, 2023, 1:57 a.m.