A GPU-accelerated NetCDF viewer and editor
Project description
Pynoply
A GPU-accelerated NetCDF viewer and editor
⚠️ Alpha Version - Work in Progress
Pynoply is currently in alpha development. Features are being actively developed and the API may change. Use at your own risk and please report any issues you encounter!
Features
- GPU-Accelerated Visualization - Leverages VisPy for hardware-accelerated rendering
- Multi-dimensional Data - Navigate through time series and depth layers
- Multiple Colormaps - Viridis, Magma, Plasma, and more
- Attribute Editing - Modify NetCDF global and variable attributes
- Format Conversion - Save with compression and format options
- Smart GPU Selection - Automatically detects and uses dedicated GPUs (NVIDIA, Intel)
- Integrated File Browser - Browse and open NetCDF files directly
- Real-time Monitoring - Track GPU, RAM, and CPU usage
Installation
From PyPI (Recommended)
pip install pynoply
From Source (Development)
# Clone the repository
git clone https://github.com/polymood/Pynoply.git
cd Pynoply
# Create a virtual environment (recommended)
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode with dependencies
pip install -e .
Usage
After installation, launch Pynoply from the command line:
pynoply
Or run as a Python module:
python -m pynoply
Requirements
- Python 3.10 or higher
- PySide6
- NumPy
- xarray
- VisPy
- psutil
- Matplotlib
- Pillow
For GPU acceleration, NVIDIA drivers (for NVIDIA GPUs) or Mesa (for Intel/AMD) are required.
GPU Selection
Pynoply automatically detects available GPUs and prefers dedicated GPUs (e.g., NVIDIA) over integrated graphics. You can manually select which GPU to use:
- Open Tools → GPU Settings
- Select your preferred GPU
- Click Apply & Restart
Development
Project Structure
Pynoply/
├── src/
│ └── pynoply/
│ ├── __init__.py # Package initialization
│ ├── __main__.py # Entry point
│ ├── main_window.py # Main application window
│ ├── constants.py # Application constants
│ ├── gpu/ # GPU detection and management
│ ├── workers/ # Background worker threads
│ ├── widgets/ # Custom Qt widgets
│ ├── dialogs/ # Dialog windows
│ └── utils/ # Utility functions
├── pyproject.toml # Project metadata and dependencies
├── README.md # This file
└── LICENSE # MIT License
Running Tests
# Install development dependencies
pip install -e ".[dev]"
# Run tests (once test suite is created)
pytest
Code Style
This project uses:
- Black for code formatting
- Ruff for linting
- mypy for type checking
# Format code
black src/
# Lint
ruff check src/
# Type check
mypy src/
Contributing
Contributions are welcome! This is an alpha project, so there's plenty of room for improvement:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Roadmap
- Complete test coverage
- Add more export formats (GeoTIFF, PNG with georeferencing)
- Implement variable creation and deletion
- Add plotting capabilities
- Improve performance for very large datasets
- Add plugins system
- Documentation and tutorials
Known Issues
- Large datasets (> 10GB) may cause memory issues
- Some NetCDF engines may not support all file types
- GPU detection on non-Linux systems is limited
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Contact
- Issues: GitHub Issues
- Repository: https://github.com/polymood/Pynoply
Note: This is alpha software. Expect bugs, incomplete features, and breaking changes!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynoply-0.1.4a0.tar.gz.
File metadata
- Download URL: pynoply-0.1.4a0.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaec026dd6ecf0131b764d7a8d5da49f22422a482895ae2aa44c0580a9403ee9
|
|
| MD5 |
8703d28fcc89ec06dd66ce30bda23538
|
|
| BLAKE2b-256 |
085333e7ca17d785d14d9f849138e22f825ef43ac41ffdde02dce9add1796c05
|
Provenance
The following attestation bundles were made for pynoply-0.1.4a0.tar.gz:
Publisher:
publish-pypi.yml on polymood/Pynoply
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pynoply-0.1.4a0.tar.gz -
Subject digest:
aaec026dd6ecf0131b764d7a8d5da49f22422a482895ae2aa44c0580a9403ee9 - Sigstore transparency entry: 722183769
- Sigstore integration time:
-
Permalink:
polymood/Pynoply@c5fb55d1ba643deb0235d4fd076b375e8c6ce6e6 -
Branch / Tag:
refs/tags/v0.1.4-alpha - Owner: https://github.com/polymood
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@c5fb55d1ba643deb0235d4fd076b375e8c6ce6e6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pynoply-0.1.4a0-py3-none-any.whl.
File metadata
- Download URL: pynoply-0.1.4a0-py3-none-any.whl
- Upload date:
- Size: 52.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f0b51ea1b8fe1dd8b4465a8aa498fef02c0e382b2e76a5d678112375290c3e3
|
|
| MD5 |
c72f0684d9be4ccedde54a2908ac7c5f
|
|
| BLAKE2b-256 |
2b62ecad28962b7caeb803b1d2651e20ddfe40a30da578ea9f9a4dc133988ff6
|
Provenance
The following attestation bundles were made for pynoply-0.1.4a0-py3-none-any.whl:
Publisher:
publish-pypi.yml on polymood/Pynoply
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pynoply-0.1.4a0-py3-none-any.whl -
Subject digest:
3f0b51ea1b8fe1dd8b4465a8aa498fef02c0e382b2e76a5d678112375290c3e3 - Sigstore transparency entry: 722183834
- Sigstore integration time:
-
Permalink:
polymood/Pynoply@c5fb55d1ba643deb0235d4fd076b375e8c6ce6e6 -
Branch / Tag:
refs/tags/v0.1.4-alpha - Owner: https://github.com/polymood
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@c5fb55d1ba643deb0235d4fd076b375e8c6ce6e6 -
Trigger Event:
workflow_dispatch
-
Statement type: