Skip to main content

PyPAM based Processing

Project description

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

Documentation

docs.mbari.org/pbp.

Installation

The only requirement is Python 3.9, 3.10, or 3.11 on your environment.[^1] You can run python3 --version to check the version of Python installed.

[^1]: As currently required by PyPAM.

As a general practice, it is recommended to use a virtual environment for the installation.

python3.11 -m venv virtenv
source virtenv/bin/activate

Install the package:

pip install mbari-pbp

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 package includes the following CLI programs:

Program 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

TODO link to the API documentation.

References

Development

See DEVELOPMENT.md for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mbari_pbp-1.4.5.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

mbari_pbp-1.4.5-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

Details for the file mbari_pbp-1.4.5.tar.gz.

File metadata

  • Download URL: mbari_pbp-1.4.5.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure

File hashes

Hashes for mbari_pbp-1.4.5.tar.gz
Algorithm Hash digest
SHA256 412758d03d1ac003a0c0cf0ae2dd3c1bc58df77cdc243d76dc75f34d3820e315
MD5 0d84b2d7c123799465424d95df82e447
BLAKE2b-256 21b0b470c7a405704355434bf0ca14c29bc79e7371e929854e1409599eb7c171

See more details on using hashes here.

File details

Details for the file mbari_pbp-1.4.5-py3-none-any.whl.

File metadata

  • Download URL: mbari_pbp-1.4.5-py3-none-any.whl
  • Upload date:
  • Size: 51.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure

File hashes

Hashes for mbari_pbp-1.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e6afcf02d93604f02e7e2238a3b6d0c4cbbd9e123c67e95d7046c9cdf4f3d380
MD5 81f69f2e9657aa4b28655c8241a0d7bb
BLAKE2b-256 5d8bd208e187516f7b74b39601cd358ae5bd39be24c5af0627988c8a92e95c0c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page