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.0

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.0
File Size Uploaded Provenance Actions
echoshader-0.2.0.tar.gz 18.9 MB Without provenance Details for echoshader-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 21.9 MB

Release files / echoshader-0.2.0.tar.gz

Download URL echoshader-0.2.0.tar.gz
Size 18.9 MB
Tags Source
SHA-256 checksum
How to use checksums
b7f55b7049e49dd36d431fb57cbffd01f592565f8bdcd098ec1070b52779c0cb
BLAKE2b-256 checksum
How to use checksums
bc1ff5924add12f969f1372c8841b27dc09495d75bd096c53d08d09d60181747
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.0-py3-none-any.whl

Download URL echoshader-0.2.0-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
45f6b97ea7a72b447d4eaa55a26e01761cf9608a5067506e22e2cfe1dca4e42d
BLAKE2b-256 checksum
How to use checksums
d2c96c2f5568c39a1d483b9b3ce5214617cbd6c22ed767254e7254e4d62d3df8
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.0

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