Scripts for wind resource data processing.
Project description
__ _ __ __ _ __
/ /_ _____(_)___ / /_ / /__ __(_)___ ___ / /
/ __ \/ ___/ / __ \/ __ \/ __/ | /| / / / __ \/ __ /
/ /_/ / / / / /_/ / / / / /_ | |/ |/ / / / / / /_/ /
/_.___/_/ /_/\__, /_/ /_/\__/ |__/|__/_/_/ /_/\__,_/
/____/
A Python library primarily for wind resource assessments.
Brightwind is an open-source Python library for wind (and solar) resource analysis. It loads meteorological timeseries data, runs common analyses — shear, long-term adjustments, correlations, distributions — and exports results to formats used by wind analysis software such as WAsP.
📚 Full documentation, tutorials and API reference: https://brightwind-dev.github.io/brightwind-docs/
Installation
Install brightwind into its own environment to avoid dependency clashes. Pick whichever option suits you.
Option 1 — venv (quick way to try brightwind out)
Check Python is installed (3.9+ recommended):
python --version
If not, install it from python.org/downloads — on Windows, tick "Add Python to PATH" in the installer.
Then create an environment and install brightwind:
python -m venv brightwind_env
# Windows
brightwind_env\Scripts\activate
# macOS / Linux
source brightwind_env/bin/activate
pip install brightwind
Option 2 — conda
Common if you already use Anaconda or work primarily in Jupyter. Anaconda bundles Python, pip and Jupyter in one installer. From the Anaconda Prompt:
conda create --name brightwind_env python=3.11
conda activate brightwind_env
pip install brightwind
A step-by-step Windows install walkthrough is also available in the tutorials.
Optional — parquet support
Reading .parquet files from BrightHub needs a parquet engine. Install the default (pyarrow):
pip install brightwind[parquet]
Or use fastparquet instead: pip install brightwind[parquet-fastparquet].
Quick start
Most analysts use brightwind from a Jupyter Notebook:
pip install jupyter
jupyter notebook
import brightwind as bw
data = bw.load_csv(bw.demo_datasets.demo_data)
bw.basic_stats(data)
For full examples — loading, plotting, shear, correlations, exporting — see the tutorials and API reference.
Why open-source?
The brightwind library is open-source, making every step of an assessment transparent, auditable and reproducible. The full record of adjustments to a dataset lives in a single file that internal reviewers, third parties and banks can inspect directly — sharpening due diligence and removing the "black box" problem of proprietary tools.
The intent is a shared, validated toolkit that the wind and solar industry builds on together, rather than each consultancy reinventing the same calculations behind closed doors.
Test datasets
Demo datasets are bundled with the library to demonstrate functions and exercise the test suite:
| Dataset | Source | Notes |
|---|---|---|
demo_data.csv |
BrightWind | A modified 2-year met mast dataset in CSV and Campbell Scientific format. |
MERRA-2_XX_2000-01-01_2017-06-30.csv |
NASA GES DISC | 4 × MERRA-2 18-year datasets to complement the demo data for long-term analyses. |
demo_cleaning_file.csv |
BrightWind | Periods to clean out from the demo data. |
windographer_flagging_log.txt |
BrightWind | Same cleaning info as demo_cleaning_file.csv formatted as a Windographer flagging file. |
demo_data_iea43_wra_data_model.json |
BrightWind | A JSON file formatted to the IEA Wind Task 43 WRA Data Model standard, describing the mast configuration for the demo data. |
Contributing
Brightwind welcomes contributions from across the wind and solar industry — analysts, engineers, researchers and developers.
- Issues, bugs and feature requests: GitHub issue tracker
- Code contributions and development setup: see contributing.md
- General enquiries: stephen@brightwindanalysis.com
License
MIT — see LICENSE.txt.
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 brightwind-2.7.0.tar.gz.
File metadata
- Download URL: brightwind-2.7.0.tar.gz
- Upload date:
- Size: 32.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cd694a497401b1683ca19c1e3a6ba06fac948eceb2eba8e0c858df816ee00c8
|
|
| MD5 |
70f96e6719d25cb6049b43e6d1ef386f
|
|
| BLAKE2b-256 |
c8b8ce3ec3bf40856d4c876ba7d5168c2b5d70192d922f9623d21a1b7c95590f
|
File details
Details for the file brightwind-2.7.0-py3-none-any.whl.
File metadata
- Download URL: brightwind-2.7.0-py3-none-any.whl
- Upload date:
- Size: 32.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f346914d3ee45f5ee511f05afb1b160815065fd99753a620e1ca9a4414b9cd6
|
|
| MD5 |
0113ebbf1d359d66350cba6ecc187b8f
|
|
| BLAKE2b-256 |
e739652f5999640bb62fecf6f149114d332b24e906f7a9730f3c1cb991838ee3
|