Metadata-Version: 2.4
Name: pelagos_py
Version: 1.0.1
Summary: Customizable processing pipeline for oceanographic data from autonomous assets
Maintainer-email: Daniel Bangay <Daniel.Bangay@noc.ac.uk>
License-Expression: Apache-2.0
Project-URL: documentation, https://noc-obg-autonomy.github.io/pelagos-py/
Project-URL: homepage, https://github.com/NOC-OBG-Autonomy/pelagos-py
Project-URL: repository, https://github.com/NOC-OBG-Autonomy/pelagos-py
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.4
Requires-Dist: pandas>=3.0
Requires-Dist: scipy>=1.17
Requires-Dist: xarray>=2026.4
Requires-Dist: netcdf4>=1.7
Requires-Dist: h5py>=3.16
Requires-Dist: h5netcdf>=1.8
Requires-Dist: gsw>=3.6
Requires-Dist: geopy>=2.4
Requires-Dist: scikit-learn>=1.8
Requires-Dist: matplotlib>=3.11
Requires-Dist: requests>=2.33
Requires-Dist: shapely>=2.1
Requires-Dist: pvlib>=0.15
Requires-Dist: tqdm>=4.67
Requires-Dist: ipykernel
Requires-Dist: pyarrow>=26.0
Requires-Dist: fpdf2>=2.8
Requires-Dist: cartopy>=0.25
Requires-Dist: pyyaml>=6.0
Requires-Dist: compliance-checker>=6.0
Requires-Dist: cc-plugin-ncei>=2.0
Requires-Dist: cc-plugin-og>=0.1
Requires-Dist: psutil>=5.9
Requires-Dist: glidertest>=1.0.1
Requires-Dist: fastapi>=0.110
Requires-Dist: uvicorn>=0.29
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: httpx; extra == "test"
Dynamic: license-file

<p align="center">
  <img src="https://raw.githubusercontent.com/NOC-OBG-Autonomy/pelagos-py/main/docs/_static/NOC_logo.svg" alt="NOC logo" width="120" />
</p>

# pelagos-py

pelagos-py processes glider and other autonomous-platform data in OG1 format into science-ready datasets. A pipeline is a sequence of steps (loading, quality control, corrections, export) built from a single YAML config file, so processing can be reproduced by sharing the config.

![pelagos-py building, running and exporting a pipeline](https://raw.githubusercontent.com/NOC-OBG-Autonomy/pelagos-py/main/docs/_static/pelagos_demo.gif)

## Installation

```bash
pip install pelagos-py
```

Or from source:

```bash
git clone https://github.com/NOC-OBG-Autonomy/pelagos-py.git
cd pelagos-py
pip install -e .
```

## Quick start

Build a config for the demo file (downloaded on first use) and run it:

```python
from pelagos_py import Pipeline, get_demo_file

pipeline = Pipeline.make_config(get_demo_file())
pipeline.run()
```

`make_config` saves the config as a YAML file next to the data, ready to edit and rerun with `Pipeline.load_config`.

### Dashboard

A local web page to build, check and run configs, with live logs and diagnostic plots:

```bash
pelagos-py dashboard              # opens http://localhost:8791
```

### Command line

```bash
pelagos-py build glider.nc        # writes glider.yaml
pelagos-py run glider.nc          # builds a config, then runs it
pelagos-py run my_pipeline.yaml   # runs an existing config
pelagos-py demo                   # downloads the demo file and prints its path
```

## Documentation

- [Getting Started](https://noc-obg-autonomy.github.io/pelagos-py/getting_started.html): installation, running a pipeline and an example config
- [User Guide](https://noc-obg-autonomy.github.io/pelagos-py/user_guide.html): how each variable is processed
- [API Reference](https://noc-obg-autonomy.github.io/pelagos-py/api_reference.html): every step and its parameters
- [Contributing](https://github.com/NOC-OBG-Autonomy/pelagos-py/blob/main/CONTRIBUTING.md): reporting issues and developing pelagos-py

## License

[Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0)

Copyright 2025-2026 The National Oceanography Centre and contributors.
