Skip to main content

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.

demo_image_1 demo_image_2


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


Download files

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

Source Distribution

brightwind-2.5.0.tar.gz (32.5 MB view details)

Uploaded Source

Built Distribution

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

brightwind-2.5.0-py3-none-any.whl (32.8 MB view details)

Uploaded Python 3

File details

Details for the file brightwind-2.5.0.tar.gz.

File metadata

  • Download URL: brightwind-2.5.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

Hashes for brightwind-2.5.0.tar.gz
Algorithm Hash digest
SHA256 eaab82c81eb61b239053b3f5f6d022535e12f3070833f84ea51059182f6327fc
MD5 97eea8d6aa35f2582b56728aae492d08
BLAKE2b-256 d04f2503b21c6372195136436c8e3f9f3843071cf5a577eb1be4dea0df03f0ce

See more details on using hashes here.

File details

Details for the file brightwind-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: brightwind-2.5.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

Hashes for brightwind-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d89ffb44bbfa199257bde7b4defe1d5370e2efaa58749347b511db4a48a0d9bb
MD5 f854ce93f226ccc91f553fdcf8e8adfe
BLAKE2b-256 29bf18354bdc40f4e1089ad394b94bc4db1c0a91741d8036beb7fde10276b456

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