Data and Code: Spatiotemporal Variability of Fin Whale and Blue Whale Calls Detected by Land Seismometers in the Lower St. Lawrence Seaway

Code MATLABWhaleDetectionCodeNWA.zip The code used in the manuscript Spatiotemporal Variability of Fin Whale and Blue Whale Calls Detected by Land Seismometers in the Lower St. Lawrence Seaway (Goblot et al., in review) to detect whale calls in seismic waveforms was written by Alexandre Plourde and...

Full description

Bibliographic Details
Main Authors: Goblot, Eva, Yajing, Liu, Plourde, Alexandre, Cauchy, Pierre, Mérindol, Jeanne, Bernier, Coralie, Li, Ge, Roth, Basile
Format: Other/Unknown Material
Language:unknown
Published: Zenodo 2024
Subjects:
Online Access:https://doi.org/10.5281/zenodo.10028774
Description
Summary:Code MATLABWhaleDetectionCodeNWA.zip The code used in the manuscript Spatiotemporal Variability of Fin Whale and Blue Whale Calls Detected by Land Seismometers in the Lower St. Lawrence Seaway (Goblot et al., in review) to detect whale calls in seismic waveforms was written by Alexandre Plourde and uploaded here with permission. This .zip file contains 3 folders, ‘Numerical Methods’, ‘Signal Processing’ and ‘Whale Subroutines’, as well as 3 main scripts (x2 for fin and blue whales). Pre-processing: Convert .mseed to SAC files and rename with the format: YYYY.MM.DD.NETWORK.STATION.CHANNEL.SAC. Each SAC file must then be placed in a folder named with the format YYYYMMDD, referred to as events (evs) in the code. Each of these folders must then be placed into a single folder known as the events directory (drE) in the code. Processing: Fin whales Run ‘RecordWhaleNoiseLSZ.m’ for fin whales. This reads through daily SAC files, and computes fin whale power ratio every 120 s. The folder ‘FinWhalePower’ (drP) should now be created. These contain text files with the power ratios (W) for every window at each station. Run ‘createFinWhaleDectectionList.m' to check which 120s time windows have W > threshold (3.0 in our case). These time windows are stored in the matrix FWD. Run 'RecordFinWhaleCallsLSZ.m' to identify individual whale calls within each of the 120s time segments in the FWD matrix. The labelled call times are stored in the matrix FWC. Processing: Blue whales Run ‘RecordBlueWhalesLSZ.m’ for fin whales. This reads through daily SAC files, and computes fin whale power ratio every 120 s. The folder ‘BlueWhalePower’ (drP) should now be created. These contain text files with the power ratios (W) for every window at each station. Run ‘createBlueWhaleDectectionList.m' to check which 720s time windows have W > threshold (1.5 in our case). These time windows are stored in the matrix BWD. Run 'RecordFinWhaleCallsLSZ.m' to identify individual whale calls within each of the 720s time segments in the BWD matrix. The ...