Skip to main content

A Python package for working with GRIB weather data files

Project description

WindGrib

Python License Version

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:

📖 View Full Documentation

🤝 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

windgrib-1.0.1.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

windgrib-1.0.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file windgrib-1.0.1.tar.gz.

File metadata

  • Download URL: windgrib-1.0.1.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for windgrib-1.0.1.tar.gz
Algorithm Hash digest
SHA256 79e6976d4ce6c0678868eb58510157a710ee791d6574243784c27c8ed6e4b1e9
MD5 ceae58422857a47d54f4cdde385d7205
BLAKE2b-256 8f068f8ec0b22b51021681ca2b0f98a06b851427157a5eeb4f69abaa4e60ccb0

See more details on using hashes here.

File details

Details for the file windgrib-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: windgrib-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for windgrib-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a602d8718c804e6dcdd4556835ee3b760fe2e2bad662edade28fafd7475a5112
MD5 56c21ac2119381e356c27f7daf537cf4
BLAKE2b-256 6315109080ebdbb2481ebfc0a1ca75cf1b8f275770b479c3a215b719a47499a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page