suspectacumprec {INQC} | R Documentation |
Detects precipitation values above limit
Description
This function detects values above limit preceded by a number of "non precipitation days", given by tolerance
Usage
suspectacumprec(datos, limit = 2000, tolerance = 10)
Arguments
datos |
two columns vector, date and data, in the ECA&D format |
limit |
threshold/limit value for atmospheric precipitation |
tolerance |
how many consecutive days with 0 or NA you need to jump |
Value
list of positions which do not pass this QC test
Examples
#Extract the ECA&D data file from the example data folder
path2inptfl<-system.file("extdata", "RR_SOUID132730.txt", package = "INQC")
#Read the data file
datos<-readecad(input=path2inptfl,missing= -9999)[,3:4]
#Find all suspicious positions in the precipitation time series
suspectacumprec(datos,limit=2000,tolerance=10)
[Package INQC version 2.0.5 Index]