Scripts for wind resource data processing.
Project description
__ _ __ __ _ __
/ /_ _____(_)___ / /_ / /__ __(_)___ ___ / /
/ __ \/ ___/ / __ \/ __ \/ __/ | /| / / / __ \/ __ /
/ /_/ / / / / /_/ / / / / /_ | |/ |/ / / / / / /_/ /
/_.___/_/ /_/\__, /_/ /_/\__/ |__/|__/_/_/ /_/\__,_/
/____/
A Python library primarily for wind resource assessments.
Brightwind is a Python library specifically built for wind analysis. It can load in wind speed, wind direction and other metrological timeseries data. There are various plots you can use to understand this data and to find any potential issues. You can perform many common functions to the data such as shear and long-term adjustments. The resulting adjusted data is then outputted as a frequency distribution tab file which can be used in wind analysis software such as WAsP.
This library can also be used for solar resource analysis.
Installation
You can use pip from the command line to install the library.
C:\Users\Stephen> pip install brightwind
It is advisable to use a separate environment to avoid any dependency clashes with other libraries such as Pandas, Numpy or Matplotlib you may already have installed.
For those that do not have Python installed and are just getting started, we recommend installing Anaconda. Anaconda is a Python distribution for scientific computing and so provides everything you need, Python, pip and Jupyter Notebook along with libraries such as Pandas, Numpy and Matplotlib. Datacamp provide a good tutorial for installing Anaconda on Windows to get started.
Once Anaconda is installed, you can use the Anaconda Prompt to run the above command line pip install brightwind
.
Or first use Anaconda Navigator to create an environment.
Documentation
Documentation on how to get setup and use the library can be found at https://brightwind-dev.github.io/brightwind-docs/
Example usage of the brightwind library is shown below using Jupyter Notebook. Jupyter Notebook is a powerful way to
immediately see the results of code you have written.
Features
The library provides wind analysts with easy to use tools for working with meteorological data. It supports loading of meteorological data, averaging, filtering, plotting, correlations, shear analysis, long term adjustments, etc. The library can then export a resulting long term adjusted tab file to be used in other wind analysis software.
Benefits
The key benefits to an open-source library is that it provides complete transparency and traceability. Anyone in the industry can review any part of the code and suggest changes, thus creating a standardised, validated toolkit for the industry.
By default, during an assessment every manipulation or adjustment made to the wind data is contained in a single file. This can easily be reviewed and checked by internal reviewers or, as the underlying code is open-sourced, there is no reason why this file cannot be sent to 3rd parties for review thus increasing the effectiveness of a banks due diligence.
License
The library is licensed under the MIT license.
Test datasets
A test dataset is included in this repository and is used to demonstrate function and test functions in the code. Other files and datasets are also included to complement this demo dataset. These are outlined below:
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 x MERRA-2 18-yr datasets to complement the demo data for long term analyses. |
demo_cleaning_file.csv | BrightWind | A file containing information on what periods to clean out from the demo data. |
windographer_flagging_log.txt | BrightWind | The same cleaning info as found in 'demo_cleaning_file.csv' formatted as a Windographer flagging file. |
demo_data_iea43_wra_data_model.json | BrightWind | A JSON file formatted according to the IEA Wind Task 43 WRA Data Model standard which describes the mast configuration for the demo data. |
Contributing
If you wish to be involved or find out more please contact stephen@brightwindanalysis.com.
More information can be found in the contributing.md section of the website.
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
File details
Details for the file brightwind-2.2.1.tar.gz
.
File metadata
- Download URL: brightwind-2.2.1.tar.gz
- Upload date:
- Size: 32.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10257ba0d7872cb3a679b224f67ca155c9ecb816ca711ae92eef9f738e9ce8b5 |
|
MD5 | 989355891544aec31111d3ef168c6a70 |
|
BLAKE2b-256 | 1230fd0a49593d28f29d6e654b8fd9f148dbe8b29ca3691bb7393547cd09d0b7 |
File details
Details for the file brightwind-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: brightwind-2.2.1-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 | 42d92662513595cdb8eac180e5f5ad3b817e71b44396c22bd6bd201a5558e1c3 |
|
MD5 | be317d76d47a8e965b2b9d508cfe2531 |
|
BLAKE2b-256 | 91287df5fcbb28ac93f2b08f6820f095496347e5f1fb4befee222a339142dbc3 |