I need to calculate calibrated soundscape metrics for 2 months continuous recordings made with SoundTraps HF600, so I thougth about using PAMGuide (Merchant et al. 2015). I've tried using the Meta function in R with several different settings (calibrating and not calibrating the data, using an averaging welch factor or not, adding timestamp or not, etc.) but it always results with an as.POSIXlt.character error message:
Meta(atype = "PSD",
plottype = "Stats",
envi = "Wat",
r = 50,
winname = 'Hann',
calib = 1,
ctype = "EE",
Si= -175.9, # calibration value from SoundTrap
linlog = "Log",
lcut = 20,
welch = 10, # for 5s time resolution
timestring = "6690.%y%m%d%H%M%S.wav",
outwrite = 1, #
outdir = "D:/PBS_Monitoramento acústico/Analises/PSD_resultados/Dep01_220502-220623/Dep01_S01_ST6690/2205"
)
No. of WAV files in selected directory: 4239
Time stamp start time: 2022-05-02 13:34:14
Analysis type: PSD
Plot type: None
Underwater measurement
Hydrophone sensitivity: -36 dB re 1 V/uPa
Preamplifier gain: 0 dB
ADC peak voltage: 1.414 V
Time segment length: 96000 samples = 1 s
Window function: Hann
Window overlap: 50 %
System sensitivity correction factor, S = -39.0 dB
Error in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambiguous format
In addition: Warning message:
Error in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambiguous format
The same goes for the "PAMGuide" function. I have used PAMGuide in the past to study other marine soundscapes data collected with other equipment, but now I can't run any of the PAMGuide functions in R nor in Matlab.
Has anyone had to deal with this problem before? Can it be related to data being collected with SoundTraps?
Edit: 3 files with 1-minute and standard SoundTrap filenames can be accessed here.