Welcome to echoshader
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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| echoshader-0.2.3.tar.gz | 18.6 MB | Without provenance | Details for echoshader-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| echoshader-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for echoshader-0.2.3-py3-none-any.whl |
Total release size: 18.7 MB
Release files / echoshader-0.2.3.tar.gz
| Download URL | echoshader-0.2.3.tar.gz |
|---|---|
| Size | 18.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8497e74b632723e6aff59a2f785d193a0cab5c62805c3cf228e33e141ec2ac39
|
|
BLAKE2b-256 checksum How to use checksums |
6fb63d02b526451a8c49d42d091a2d5119ff22bb98bf71fc97b56c202282d571
|
| 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.3-py3-none-any.whl
| Download URL | echoshader-0.2.3-py3-none-any.whl |
|---|---|
| Size | 89.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a325ba3482f4216d410aa3dbcb769f103f440583de46976e4d3794d4015ae96
|
|
BLAKE2b-256 checksum How to use checksums |
75b55e6ee867ed8948d3a1165bcfb22d237d6d79db9e03223659c1c14433472e
|
| 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.3
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.