Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

windrose

A graphic tool used by meteorologists to give a succinct view of how wind speed and direction are typically distributed at a particular location.
https://github.com/python-windrose/windrose

matplotlib numpy pandas python speed wind windrose

Last synced: about 10 hours ago
JSON representation

Repository metadata

A Python Matplotlib, Numpy library to manage wind data, draw windrose (also known as a polar rose plot), draw probability density function and fit Weibull distribution

README

        

[![Latest Version](https://img.shields.io/pypi/v/windrose.svg)](https://pypi.python.org/pypi/windrose/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/windrose.svg)](https://pypi.python.org/pypi/windrose/)
[![Wheel format](https://img.shields.io/pypi/wheel/windrose.svg)](https://pypi.python.org/pypi/windrose/)
[![License](https://img.shields.io/pypi/l/windrose.svg)](https://pypi.python.org/pypi/windrose/)
[![Development Status](https://img.shields.io/pypi/status/windrose.svg)](https://pypi.python.org/pypi/windrose/)
[![Tests](https://github.com/python-windrose/windrose/actions/workflows/tests.yml/badge.svg)](https://github.com/python-windrose/windrose/actions/workflows/tests.yml)
[![DOI](https://zenodo.org/badge/37549137.svg)](https://zenodo.org/badge/latestdoi/37549137)
[![JOSS](https://joss.theoj.org/papers/10.21105/joss.00268/status.svg)](https://joss.theoj.org/papers/10.21105/joss.00268)

# Windrose

A [wind rose](https://en.wikipedia.org/wiki/Wind_rose) is a graphic tool used by meteorologists to give a succinct view of how wind speed and direction are typically distributed at a particular location. It can also be used to describe air quality pollution sources. The wind rose tool uses Matplotlib as a backend. Data can be passed to the package using Numpy arrays or a Pandas DataFrame.

Windrose is a Python library to manage wind data, draw windroses (also known as polar rose plots), and fit Weibull probability density functions.

The initial use case of this library was for a technical report concerning pollution exposure and wind distributions analyzes. Data from local pollution measures and meteorologic information from various sources like Meteo-France were used to generate a pollution source wind rose.

It is also used by some contributors for teaching purpose.

![Map overlay](https://raw.githubusercontent.com/python-windrose/windrose/main/paper/screenshots/overlay.png)

Some others contributors have used it to make figures for a [wind power plant control optimization study](https://www.nrel.gov/docs/fy17osti/68185.pdf).

Some academics use it to track lightning strikes during high intensity storms. They are using it to visualize the motion of storms based on the relative position of the lightning from one strike to the next.

## Try windrose on mybinder.org

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/python-windrose/windrose/HEAD?labpath=notebooks)

## Install

### Requirements

- matplotlib http://matplotlib.org/
- numpy http://www.numpy.org/
- and naturally python https://www.python.org/ :-P

Optional libraries:

- Pandas http://pandas.pydata.org/ (to feed plot functions easily)
- Scipy http://www.scipy.org/ (to fit data with Weibull distribution)
- ffmpeg https://www.ffmpeg.org/ (to output video)
- click http://click.pocoo.org/ (for command line interface tools)
- seaborn https://seaborn.pydata.org/ (for easy subplots)

### Install latest release version via pip

A package is available and can be downloaded from PyPi and installed using:

```bash
$ pip install windrose
```

### Install latest development version

```bash
$ pip install git+https://github.com/python-windrose/windrose
```

or

```bash
$ git clone https://github.com/python-windrose/windrose
$ python setup.py install
```

## Documentation
Full documentation of library is available at https://python-windrose.github.io/windrose/

## Community guidelines

You can help to develop this library.

### Code of Conduct

If you are using Python Windrose and want to interact with developers, others users...
we encourage you to follow our [code of conduct](https://github.com/python-windrose/windrose/blob/master/CODE_OF_CONDUCT.md).

### Contributing

If you discover issues, have ideas for improvements or new features, please report them.
[CONTRIBUTING.md](https://github.com/python-windrose/windrose/blob/master/CONTRIBUTING.md) explains
how to contribute to this project.

### List of contributors and/or notable users
https://github.com/python-windrose/windrose/blob/main/CONTRIBUTORS.md


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 331
Total Committers: 21
Avg Commits per committer: 15.762
Development Distribution Score (DDS): 0.429

Commits in past year: 35
Committers in past year: 6
Avg Commits per committer in past year: 5.833
Development Distribution Score (DDS) in past year: 0.629

Name Email Commits
scls19fr s****s@g****m 189
Filipe Fernandes o****f@g****m 53
pre-commit-ci[bot] 6****] 24
dependabot[bot] 4****] 16
Jonas Kittner j****r@r****e 8
kilojoules j****8@h****u 7
Samuël Weber/GwendalD s****r@u****r 7
Samuël Weber/GwendalD s****r@n****g 6
Pete Bachant p****e@w****m 3
xmn i****a@g****m 3
strawberry beach sandals 3****3 3
Joonatan Partanen j****n@i****i 2
Fabien Maussion f****n@u****t 2
Leonardo Uieda l****a@g****m 1
Jørgen Kvalsvik j****a@s****m 1
Jonas Kittner 5****3 1
Miguel Rodas m****s 1
Sam P Raj 6****7 1
Stas s****v@g****m 1
mccannjb m****t@g****m 1
sspagnol s****l@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 134
Total pull requests: 132
Average time to close issues: over 1 year
Average time to close pull requests: about 1 month
Total issue authors: 82
Total pull request authors: 24
Average comments per issue: 2.66
Average comments per pull request: 1.3
Merged pull request: 118
Bot issues: 0
Bot pull requests: 37

Past year issues: 4
Past year pull requests: 22
Past year average time to close issues: N/A
Past year average time to close pull requests: 5 days
Past year issue authors: 3
Past year pull request authors: 4
Past year average comments per issue: 0.25
Past year average comments per pull request: 0.73
Past year merged pull request: 21
Past year bot issues: 0
Past year bot pull requests: 14

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/python-windrose/windrose

Top Issue Authors

  • scls19fr (39)
  • cqcn1991 (4)
  • 15b3 (3)
  • winash12 (3)
  • cnske (3)
  • blaylockbk (3)
  • GoodLug (2)
  • slharris (2)
  • Data-drone (2)
  • wanglongqi (1)
  • SAKURALFJ (1)
  • rylanlee (1)
  • yngwaz (1)
  • ruffsl (1)
  • Round-Walnut (1)

Top Pull Request Authors

  • ocefpaf (31)
  • pre-commit-ci[bot] (20)
  • dependabot[bot] (17)
  • scls19fr (14)
  • weber-s (13)
  • jkittner (8)
  • kilojoules (5)
  • petebachant (3)
  • 15b3 (3)
  • fmaussion (2)
  • lubyant (2)
  • sspagnol (2)
  • jokva (1)
  • MarcoForte (1)
  • rosatrancoso (1)

Top Issue Labels

  • warning (3)
  • deprecation (2)
  • question (1)
  • enhancement (1)

Top Pull Request Labels


Package metadata

pypi.org: windrose

Python Matplotlib, Numpy library to manage wind data, draw windrose (also known as a polar rose plot)

  • Homepage: https://github.com/python-windrose/windrose
  • Documentation: https://python-windrose.github.io/windrose
  • Licenses: BCeCILL-B OR BSD-3-Clause
  • Latest release: 1.9.0 (published 11 months ago)
  • Last Synced: 2024-05-10T09:07:15.613Z (1 day ago)
  • Versions: 14
  • Dependent Packages: 6
  • Dependent Repositories: 30
  • Downloads: 9,613 Last month
  • Docker Downloads: 6,594
  • Rankings:
    • Dependent packages count: 1.256%
    • Docker downloads count: 1.696%
    • Dependent repos count: 2.676%
    • Average: 2.719%
    • Downloads: 2.875%
    • Stargazers count: 3.551%
    • Forks count: 4.259%
  • Maintainers (2)
conda-forge.org: windrose

  • Homepage: https://github.com/python-windrose/windrose
  • Licenses: BSD-3-Clause
  • Latest release: 1.8.0 (published over 1 year ago)
  • Last Synced: 2024-05-11T05:01:01.663Z (about 15 hours ago)
  • Versions: 9
  • Dependent Packages: 1
  • Dependent Repositories: 14
  • Rankings:
    • Dependent repos count: 9.349%
    • Forks count: 16.581%
    • Average: 19.317%
    • Stargazers count: 22.386%
    • Dependent packages count: 28.954%

Dependencies

requirements-dev.txt pypi
  • black *
  • cartopy *
  • check-manifest *
  • coverage *
  • flake8 *
  • flake8-builtins *
  • flake8-comprehensions *
  • flake8-mutable *
  • flake8-print *
  • interrogate *
  • isort *
  • jupyter *
  • nbsphinx *
  • pre-commit *
  • pydocstyle *
  • pylint *
  • pytest *
  • pytest-cov *
  • pytest-flake8 *
  • pytest-sugar *
  • setuptools_scm *
  • sphinx *
  • sphinx_rtd_theme *
  • twine *
  • wheel *
requirements.txt pypi
  • matplotlib *
  • numpy *
  • pandas *
  • scipy *
.github/workflows/deploy-docs.yml actions
  • actions/checkout v3 composite
  • mamba-org/provision-with-micromamba v14 composite
  • peaceiris/actions-gh-pages v3.9.1 composite
.github/workflows/pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish v1.6.4 composite
.github/workflows/tests.yml actions
  • actions/checkout v3 composite
  • mamba-org/provision-with-micromamba v14 composite
.binder/environment.yml pypi
pyproject.toml pypi
setup.py pypi

Score: 18.59642667865257