Overview: I have a large survey to process with corMatch (300GB of audio recordings, all .wav files). I have been using corMatch with individual files to test and am ready to apply it to survey folders (ie all the recordings from a survey site or date). I'm trying to use batchCorMatch, and I keep getting an error in "getOneClip(clip, name, output, write.wav)". getOneClip is an internal function of monitoR
Here is an overview of batchCorMatch and binCorMatch: jonkatz2/monitoR source: R/batchCorMatch.R
Rstudio script from my project:
Calling corMatch for NA . . .
Error in getOneClip(clip, name, output, write.wav) :
clip argument seems to be a file name but no file with the name NA exists.
batchCorMatch(dir.survey = "/Volumes/PWSFX /Workspace 2020/Borneo Data Processing 2020/AMB/A5C/",
-
ext.template = ".wav", ext.survey = ".wav", templates = "Templates/capcon1.wav",
-
parallel = FALSE, show.prog = TRUE, cor.method = "pearson", warn = TRUE, time.source = "filename",
-
fd.rat = 1)
Calling corMatch for NA . . .
Error in getOneClip(clip, name, output, write.wav) :
clip argument seems to be a file name but no file with the name NA exists.