02790nas a2200217   4500008004100000245012400041210006900165520202600234653002802260653001702288653001702305653002902322653001902351653002302370100002402393700002402417700001602441700002402457700002402481856006702505       2020                        eng d00ahardRain: An R package for quick, automated rainfall detection in ecoacoustic datasets using a threshold-based approach0 ahardRain An R package for quick automated rainfall detection in 3 a<p>The increasing demand for cost-efficient biodiversity data at large spatiotemporal scales has led to an increase in the collection of large ecoacoustic datasets. Whilst the ease of collection and storage of audio data has rapidly increased and costs fallen, methods for robust analysis of the data have not developed so quickly. Identification and classification of audio signals to species level is extremely desirable, but reliability can be highly affected by non-target noise, especially rainfall. Despite this demand, there are few easily applicable pre-processing methods available for rainfall detection for conservation practitioners and ecologists. Here, we use threshold values of two simple measures, Power Spectrum Density (amplitude) and Signal-to-Noise Ratio at two frequency bands, to differentiate between the presence and absence of heavy rainfall. We assess the effect of using different threshold values on Accuracy and Specificity. We apply the method to four datasets from both tropical and temperate regions, and find that it has up to 99% accuracy on tropical datasets (e.g. from the Brazilian Amazon), but performs less well in temperate environments. This is likely due to the intensity of rainfall in tropical forests and its falling on dense, broadleaf vegetation amplifying the sound. We show that by choosing between different threshold values, informed trade-offs can be made between Accuracy and Specificity, thus allowing the exclusion of large amounts of audio data containing rainfall in all locations without the loss of data not containing rain. We assess the impact of using different sample sizes of audio data to set threshold values, and find that 200 15 s audio files represents an optimal trade-off between effort, accuracy and specificity in most scenarios. This methodology and accompanying R package &lsquo;hardRain&rsquo; is the first automated rainfall detection tool for pre-processing large acoustic datasets without the need for any additional rain gauge data.</p>
10aAcoustic pre-processing10abioacoustics10aecoacoustics10aEnvironmental monitoring10aRain detection10aSoundscape ecology1 aMetcalf, Oliver, C.1 aLees, Alexander, C.1 aBarlow, Jos1 aMarsden, Stuart, J.1 aDevenish, Christian  uhttps://linkinghub.elsevier.com/retrieve/pii/S1470160X19307873