Skip to content

Isolation check

Cristian Lussana edited this page May 11, 2022 · 8 revisions

Stations that are isolated in space (i.e. no nearby stations) are difficult to QC with spatial methods. In many cases, these should be removed since we have no independent information to verify their accuracy.

The isolation check flags stations that have fewer than num_min buddies within a specified radius [m].

Input parameters

Parameter Type Unit Description
points Points Point object with station position
num_min int / ivec required number of observations
radius float / vec m search radius
vertical_radius float / vec m Vertical search radius

There are two versions of the isolation check, one where all the inputs are scalar (i.e. int and float) or where the inputs are vectors.

Returned parameters

Parameter Type Unit Description
flags ivec vector of return flags

Example

radius = 15000
num_min = 5
flags = titanlib.isolation_check(points, num_min, radius)
# R code
radius = 15000 # m
num_min = 5
flags = isolation_check(points, num_min, radius)