Skip to main content

Welcome to echoshader

Binder SPEC 0

Open Source Python package for building ocean sonar data visualizations based on the HoloViz suite of Python tools.

What are ocean sonar systems?

Ocean sonar systems, such as echosounders, are the workhorse to study life in the ocean. They provide continuous observations of fish and zooplankton by transmitting sounds and analyzing the echoes bounced off these animals, just like how medical ultrasound images the interior of the human body. In recent years these systems have been widely deployed on ships, autonomous vehicles, and moorings, bringing in large volumes of data that allow scientists to study changes in marine ecosystems.

What is echoshader?

Echoshader aims to enhance the capability to interactively visualize large volumes of ocean sonar data to accelerate data exploration and discovery. The project goes hand-in-hand with the ongoing development of echopype, which handles the standardization, pre-processing, and organization of these data.

By providing an accessible and customizable platform for echo data visualization, the project can accelerate advancements in oceanographic research for the benefit of conservation and sustainable resource management.

Installation

Echoshader supports Python 3.13 and 3.14. We recommend creating a new environment before installing echoshader:

mamba create -c conda-forge -n echoshader --yes python=3.13
mamba activate echoshader

To install the latest release from PyPI:

python -m pip install echoshader

To install the latest development version from GitHub:

python -m pip install git+https://github.com/echostack-org/echoshader.git

We recommend using mamba to manage conda environments.

Quick start

Echoshader provides reusable visualization elements for standardized ocean sonar data stored as xarray datasets.

import echoshader
import xarray as xr

ds = xr.open_zarr("examples/notebooks/MVBS.zarr")

ds.eshader.echogram(
    channel="WBT 400143-15 ES38B_ES",
    vert_dim="depth",
)

Available visualization elements include echograms, tricolor echograms, vessel tracks, 3-D curtain plots, histograms, summary tables, curves, and NASC plots.

Start with Visualization element examples, which downloads and extracts the processed example dataset as MVBS.zarr. Run the notebook from examples/notebooks/ so the dataset is saved there.

For RAW processing, different vertical coordinates, and geometry matching, see Echogram vertical coordinates and geometry.

The dataset is also available directly as MVBS.zip. Extract it into examples/notebooks/ to obtain examples/notebooks/MVBS.zarr.

Once the dataset is available, launch the example application from the repository root:

python -m echoshader.app.launcher examples/app/app_config.yaml --port 1805

Open http://localhost:1805/basic. The example YAML resolves its dataset path relative to its own location. See the application guide for configuration and interaction details.

Development setup

This section is intended for those who are actively developing echoshader.

First, fork and clone the echoshader repository, then create and activate a development environment:

mamba create -c conda-forge -n echoshader-dev --yes python=3.13
mamba activate echoshader-dev

From the repository directory, install echoshader in editable mode together with the development and testing dependencies defined in pyproject.toml:

python -m pip install -e ".[dev,test]"

To link the environment with a Jupyter kernel:

python -m ipykernel install --user \
    --name echoshader-dev \
    --display-name "echoshader-dev"

To run the test suite:

pytest

Metadata

Release files for echoshader 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for echoshader 0.2.1
File Size Uploaded Provenance Actions
echoshader-0.2.1.tar.gz 16.0 MB Without provenance Details for echoshader-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for echoshader 0.2.1
File Interpreter ABI Platform Actions
echoshader-0.2.1-py3-none-any.whl Python 3 none any Details for echoshader-0.2.1-py3-none-any.whl

Total release size: 16.1 MB

Release files / echoshader-0.2.1.tar.gz

Download URL echoshader-0.2.1.tar.gz
Size 16.0 MB
Tags Source
SHA-256 checksum
How to use checksums
83bbd3d45edf31d1f3fae7333664d94c1804086802d17e33b9b33349bcb9db87
BLAKE2b-256 checksum
How to use checksums
1b634361c5595f77ca889d3ef1db918d593e41e47a25a45f2e560403bf00a0f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / echoshader-0.2.1-py3-none-any.whl

Download URL echoshader-0.2.1-py3-none-any.whl
Size 80.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5cc70ee662a5b24f27118da7eadd5b3ba8c77de2e60483475d608ebb0cdcee7
BLAKE2b-256 checksum
How to use checksums
ae8c0789c7a7a7291243aa38e38dd27b2f17f24e7bbbe1136d5942135e489e5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for echoshader 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page