spatial_check: Spatial consistency check using inverse Earth mover's...

Description Usage Arguments Value

View source: R/spatial_check.R

Description

Flag and reject inconsistent observations in space.

Usage

1
2
3
4
5
6
spatial_check(
  test.station.windspeed.nonzero,
  official.station.windspeed,
  test.nbhd_spatial.info,
  order_spatial.test_station
)

Arguments

test.station.windspeed.nonzero

a data.frame that includes observation data of all test stations, with no zeros.

official.station.windspeed

a data.frame that includes observation data of official stations.

test.nbhd_spatial.info

output of function spatial_neighbors.

order_spatial.test_station

output of function spatial_order.

Value

a large list of three data.frames: new_windspeed: observations after filtering spatially inconsistent ones; flags: flag of each observation; iemdw_estimates: inverse Earth mover's distance weighting estimates of each observation.


jieyu97/QCwind documentation built on June 18, 2021, 3:37 a.m.