WindGrib
A Python library for downloading, reading, and processing meteorological data in GRIB format.
🌍 Overview
WindGrib focuses on efficient wind data extraction and targeted variable downloading from meteorological models. Key features include:
- Subset-Based Downloads: Download only specific variables using GRIB index files
- Automatic Latest Data: Retrieves the most recent available forecast data
- Smart Caching: Intelligent caching with incremental download completion
- Multi-Model Support: GFS Wave, ECMWF IFS, and custom model definitions
- AWS S3 Focused: Specifically designed for meteorological data hosted on Amazon S3
- High Performance: Asyncio-based downloads and parallel GRIB decoding for maximum speed
🚀 Installation
pip install windgrib
📈 Basic Usage
from windgrib import Grib
import numpy as np
# Download GFS wind data
gb = Grib(time='2026/01/3', model='gfswave')
gb.download()
# Access wind data
wind_data = gb['wind'].ds
# Calculate wind speed
wind_speed = np.sqrt(wind_data.u**2 + wind_data.v**2)
print(f"Average speed: {wind_speed.mean().values:.2f} m/s")
📚 Documentation
For complete documentation, examples, and advanced usage:
- Usage Examples - Practical examples with working code
- Technical Guide - Implementation details for developers
- Custom Models - Guide for extending WindGrib
- Benchmark Results - Performance comparison with Herbie
🤝 Contributing
Contributions are welcome! See our contribution guide for more information.
📜 License
This project is licensed under the MIT License. See the LICENSE file for more details.
© 2025 WindGrib. All rights reserved.
Metadata
Release files for windgrib 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| windgrib-1.0.1.tar.gz | 25.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| windgrib-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.3 kB
Release files / windgrib-1.0.1.tar.gz
| Download URL | windgrib-1.0.1.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79e6976d4ce6c0678868eb58510157a710ee791d6574243784c27c8ed6e4b1e9
|
|
BLAKE2b-256 checksum How to use checksums |
8f068f8ec0b22b51021681ca2b0f98a06b851427157a5eeb4f69abaa4e60ccb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / windgrib-1.0.1-py3-none-any.whl
| Download URL | windgrib-1.0.1-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a602d8718c804e6dcdd4556835ee3b760fe2e2bad662edade28fafd7475a5112
|
|
BLAKE2b-256 checksum How to use checksums |
6315109080ebdbb2481ebfc0a1ca75cf1b8f275770b479c3a215b719a47499a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|