Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pacific Sound 16kHz broke on 2024-08-24 #27

Open
pmhalvor opened this issue Oct 20, 2024 · 2 comments
Open

Pacific Sound 16kHz broke on 2024-08-24 #27

pmhalvor opened this issue Oct 20, 2024 · 2 comments
Labels
blocked waiting on another PR to be merged

Comments

@pmhalvor
Copy link
Owner

pmhalvor commented Oct 20, 2024

Since the 16kHz are no longer being updated, we need to adjust the audio step to download from a different source.
The best way to go about this is to build a new PTransform class the expects the same inputs and has the same outputs, but instead reads the 254kHz data.

These new data are going to be a lot more dense, so a resampling may new to be done as well, to reduce storage space.
The model only allows 10kHz anyway, so resampling earlier rather than later would be smart.

EOL of 16kHz

image

aws s3 ls --no-sign-request s3://pacific-sound-16khz/2024/08/
image

New 254kHz format

image

aws s3 ls --no-sign-request s3://pacific-sound-256khz-2024/09/
image

The latest data here are from the 19th of September. I want to reach out to the engineers working on this project to see if these data are going to be changed again (or potentially removed), or if there is a backfill currently taking place.

This issue will be marked as blocked until further confirmation on next steps have been decided.

@pmhalvor pmhalvor added the blocked waiting on another PR to be merged label Oct 20, 2024
@pmhalvor
Copy link
Owner Author

This MBARI notebook PacificSound256kHzTo2kHzDecimate shows how to decimate a signal recorded w/ a high sample rate to lower sample rates, following techniques proposed in R. Crochiere and L. Rabiner, L, "Optimum FIR Digital Implementations for Decimation, Interpolation, and Narrow-Band Filtering", IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 23, no. 5, pp. 444-456, October 1975, doi: 10.1109/TASSP.1975.1162719..

"For large changes in sampling rate, however, it is
generally more efficient to reduce the sampling rate with a
series of decimation stages rather than making the entire rate
reduction with one stage. In this way the sampling rate is
reduced gradually resulting in much less severe filtering
requirements on the low-pass filters at each stage.
Bellanger et al. [5] and Nelson et al. [8] also have implemented
sampling rate reductions using several decimation stages;
however they restricted their results by only using factors
of 2 at each stage."

@pmhalvor pmhalvor mentioned this issue Oct 20, 2024
@pmhalvor
Copy link
Owner Author

The hydrophone has been offline since it failed earlier this fall, but will be fixed by the end of next month. So no data will be available between September and November.

@pmhalvor pmhalvor changed the title Pacific Sound 16kHz hit EOL on 2024-08-24 Pacific Sound 16kHz broke on 2024-08-24 Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked waiting on another PR to be merged
Projects
None yet
Development

No branches or pull requests

1 participant