Skip to content

mbari-org/pbp

Repository files navigation

MBARI

main PyPI - Downloads License Python

PyPAM based data processing

The mbari-pbp package allows to process ocean audio data archives to daily analysis products of hybrid millidecade spectra using PyPAM.

Status: Functional version, including support for cloud based processing.

  • JSON generation of timekeeping with indication of start and duration of recognized sound files
  • Audio file processing
    • Frequency and psd array output
    • Concatenation of processed 1-minute segments for daily product
    • Calibration with given sensitivity file (NetCDF), or flat sensitivity value
  • Data products
    • NetCDF with metadata
    • Summary plot
  • Cloud processing
    • Inputs can be downloaded from and uploaded to S3
    • Inputs can be downloaded from public GCS bucket
    • Outputs can be uploaded to GCS

Example plot of a daily hybrid millidecade generated with the pbp hmb-plot command:

Documentation

Official documentation is available at docs.mbari.org/pbp.

Installation

Please see https://docs.mbari.org/pbp/#installation.

Programs and API

The mbari-pbp package includes command line interface (CLI) programs, and also provides APIs you can use in your Python scripts or notebooks.

CLI Programs

The pbp CLI program includes the following commands:

Invocation Description
pbp meta-gen Generate JSON files with audio metadata
pbp hmb-gen Main HMB generation program
pbp cloud Program for cloud based processing
pbp hmb-plot Utility program to plot HMB product

API

API documentation is available at docs.mbari.org/pbp/api.

References

Development

Interested in contributing? Please see DEVELOPMENT.md for details.

About

Process ocean audio data archives to daily analysis products of hybrid millidecade spectra using PyPAM.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7