Skip to content

Isolation check

Cristian Lussana edited this page Mar 30, 2021 · 1 revision

Isolated observations are flagged as such, then its a user choice whether to consider them useful or not depending on the application.

An observation is defined isolated if it has less than n.isol neighbors (including the observation itself) within a circle of radius dr.isol centered on the observation location.

Examples

#!/bin/bash
#==============================================================================
export TITANR_PATH=/home/cristianl/projects/titanlab/R/functions
../titan.r --input.files data/privateObs_20180326T08Z.txt data/kdvh_Norway_wmo_2018032608.txt data/kdvh_Norway_nowmo_nomet_2018032608.txt data/kdvh_Norway_nowmo_met_2018032608.txt data/smhi_Sweden_2018032608.txt --output.file ~/data/out.txt --config.files ini/input.ini ini/test_titan.ini ini/buddy.ini ini/fgt.ini ini/sct_resistant.ini ini/sct_fg.ini ini/isolation.ini --fg.files ini/fg_det.ini ini/fg_ens.ini
conf <- list(
             isolation_check = T,
             isol.code = 7,
             doit.iso = 1,
             n.isol = 5,
             dr.isol = 10000
             )