Metadata-Version: 2.3
Name: pyadps
Version: 0.3.0
Summary: A Python package for ADCP data processing
License: MIT
Keywords: adcp,data-processing,oceanography
Author: P. Amol
Author-email: prakashamol@gmail.com
Requires-Python: >=3.12,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: cmake (>=3.30.2)
Requires-Dist: matplotlib (>=3.8.4,<3.9.0)
Requires-Dist: meson (>=1.4.1)
Requires-Dist: netCDF4 (>=1.7.1,<1.8.0)
Requires-Dist: numpy (>=1.26.4,<1.27.0)
Requires-Dist: pandas (>=2.2.2,<2.3.0)
Requires-Dist: plotly (>=5.22.0,<5.23.0)
Requires-Dist: plotly-resampler (>=0.10.0,<0.11.0)
Requires-Dist: pygeomag (>=1.1.0,<2.0.0)
Requires-Dist: scipy (>=1.14.0,<1.15.0)
Requires-Dist: streamlit (>=1.36.0,<1.37.0)
Project-URL: Documentation, https://pyadps.readthedocs.io/en/latest/index.html
Project-URL: Repository, https://github.com/p-amol/pyadps
Project-URL: homepage, https://pyadps.readthedocs.io/en/latest/index.html
Description-Content-Type: text/markdown

# pyadps

`pyadps` is a Python package for processing moored Acoustic Doppler
Current Profiler (ADCP) data. It provides various functionalities
such as data reading, quality control tests, NetCDF file creation,
and visualization.

This software offers both a graphical interface (`Streamlit`) for
those new to Python and direct Python package access for experienced
users. Please note that `pyadps` is primarily designed for Teledyne
RDI workhorse ADCPs. Other company's ADCP files are not compatible,
and while some other RDI models may work, they might require additional
considerations.

- Documentation: <https://pyadps.readthedocs.io>
- Source code: <https://github.com/p-amol/pyadps>
- Bug reports: <https://github.com/p-amol/pyadps/issues>

## Table of Contents

- [Installation](#installation)
- [Quick Start](#quick-start)
- [License](#license)

## Installation

We recommend installing the package within a virtual environment.
At present, the package is compatible exclusively with Python version 3.12.
You can create a Python environment using tools like `venv` or `conda`.
Below are instructions for both methods.

### 1. Using `venv` (Built-in Python Tool)

#### Step 1: Install Python version 3.12 (if not already installed)

Ensure you have Python installed. You can download the latest version from [python.org](https://www.python.org/downloads/).

#### Step 2: Create a Virtual Environment

- Open your terminal or command prompt.
- Navigate to your project folder:

```bash
cd /path/to/your/project
```

- Run the following command to create a virtual environment
(replace adpsenv with your preferred environment name):

```bash
python -m venv adpsenv
```

#### Step 3: Activate the Environment

- On Windows:

```bash
adpsenv\Scripts\activate
```

- On macOS/Linux:

```bash
source adpsenv/bin/activate
```

You’ll see the environment name in your terminal prompt
indicating the environment is active.

#### Step 4: Install Dependencies

Now you can install packages like this:

```bash
pip install pyadps
```

#### Step 5: Deactivate the Environment

When you’re done working in the environment, deactivate it by running:

```bash
deactivate
```

### 2. Using `conda` (Anaconda/Miniconda)

#### Step 1: Install Conda

First, you need to have Conda installed on your system. You can either install:

- [Anaconda (Full Distribution)](https://www.anaconda.com/products/individual)
- [Miniconda (Lightweight Version)](https://docs.conda.io/en/latest/miniconda.html)

#### Step 2: Create a Conda Environment with Python 3.12

Once Conda is installed, open a terminal or command prompt and run
the following to create a new environment (replace `adpsenv` with
your preferred environment name):

```bash
conda create --name adpsenv python=3.12
```

#### Step 3: Activate the Conda Environment

```bash
conda activate adpsenv
```

#### Step 4: Install pyadps Dependencies

You can install packages with pip inside Conda environments.

```bash
pip install pyadps
```

#### Step 5: Deactivate the Conda Environment

When done working in the environment, deactivate the environment by running:

```bash
conda deactivate
```

## Quick Start

### Streamlit web interface

Open a terminal or command prompt, activate the environment, and run the command.

```bash
run-pyadps
```

## License

This project is licensed under the MIT License. See the LICENSE file for details.

