All Projects → python-windrose → Windrose

python-windrose / Windrose

Licence: other
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

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Windrose

Data Analysis
主要是爬虫与数据分析项目总结,外加建模与机器学习,模型的评估。
Stars: ✭ 142 (-31.73%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Opendatawrangling
공공데이터 분석
Stars: ✭ 148 (-28.85%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Data Science For Marketing Analytics
Achieve your marketing goals with the data analytics power of Python
Stars: ✭ 127 (-38.94%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Stock Market Analysis And Prediction
Stock Market Analysis and Prediction is the project on technical analysis, visualization and prediction using data provided by Google Finance.
Stars: ✭ 112 (-46.15%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Pythondatasciencehandbook
The book was written and tested with Python 3.5, though other Python versions (including Python 2.7) should work in nearly all cases.
Stars: ✭ 31,995 (+15282.21%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Stats Maths With Python
General statistics, mathematical programming, and numerical/scientific computing scripts and notebooks in Python
Stars: ✭ 381 (+83.17%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Machine Learning Projects
This repository consists of all my Machine Learning Projects.
Stars: ✭ 135 (-35.1%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Machine Learning Alpine
Alpine Container for Machine Learning
Stars: ✭ 30 (-85.58%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Machine Learning With Python
Practice and tutorial-style notebooks covering wide variety of machine learning techniques
Stars: ✭ 2,197 (+956.25%)
Mutual labels:  jupyter-notebook, pandas, numpy, matplotlib
Data Science Types
Mypy stubs, i.e., type information, for numpy, pandas and matplotlib
Stars: ✭ 180 (-13.46%)
Mutual labels:  pandas, numpy, matplotlib
Tensorflow Ml Nlp
텐서플로우와 머신러닝으로 시작하는 자연어처리(로지스틱회귀부터 트랜스포머 챗봇까지)
Stars: ✭ 176 (-15.38%)
Mutual labels:  jupyter-notebook, pandas, numpy
Dexplot
Simple plotting library that wraps Matplotlib and integrated with DataFrames
Stars: ✭ 208 (+0%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Andrew Ng Notes
This is Andrew NG Coursera Handwritten Notes.
Stars: ✭ 180 (-13.46%)
Mutual labels:  jupyter-notebook, pandas, numpy
Seaborn Tutorial
This repository is my attempt to help Data Science aspirants gain necessary Data Visualization skills required to progress in their career. It includes all the types of plot offered by Seaborn, applied on random datasets.
Stars: ✭ 114 (-45.19%)
Mutual labels:  jupyter-notebook, pandas, numpy
100 Pandas Puzzles
100 data puzzles for pandas, ranging from short and simple to super tricky (60% complete)
Stars: ✭ 1,382 (+564.42%)
Mutual labels:  jupyter-notebook, pandas, numpy
Ml Cheatsheet
A constantly updated python machine learning cheatsheet
Stars: ✭ 136 (-34.62%)
Mutual labels:  pandas, numpy, matplotlib
Stock Price Predictor
This project seeks to utilize Deep Learning models, Long-Short Term Memory (LSTM) Neural Network algorithm, to predict stock prices.
Stars: ✭ 146 (-29.81%)
Mutual labels:  jupyter-notebook, pandas, numpy
Cheatsheets.pdf
📚 Various cheatsheets in PDF
Stars: ✭ 159 (-23.56%)
Mutual labels:  jupyter-notebook, pandas, numpy
Alphalens
Performance analysis of predictive (alpha) stock factors
Stars: ✭ 2,130 (+924.04%)
Mutual labels:  jupyter-notebook, pandas, numpy
Py
Repository to store sample python programs for python learning
Stars: ✭ 4,154 (+1897.12%)
Mutual labels:  jupyter-notebook, pandas, numpy

Documentation Status Latest Version Supported Python versions Wheel format License Development Status Requirements Status Code Health Codacy Badge Build Status DOI DOI

Windrose

A 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 informations 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

Some others contributors have used it to make figures for a wind power plant control optimization study.

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.

Install

Requirements

Option libraries:

Install latest release version via pip

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

$ pip install windrose

Install latest development version

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

or

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

Examples

Let's generate random data for wind speed (ws) and wind direction (wd).

from windrose import WindroseAxes
from matplotlib import pyplot as plt
import matplotlib.cm as cm
import numpy as np

# Create wind speed and direction variables

ws = np.random.random(500) * 6
wd = np.random.random(500) * 360

The bar plot wind rose is the most common plot

-Windrose (bar) example

This kind of plot can be plot using:

ax = WindroseAxes.from_ax()
ax.bar(wd, ws, normed=True, opening=0.8, edgecolor='white')
ax.set_legend()

Contour plots are also possible

-Windrose (contourf-contour) example

Several windroses can be plotted using subplots to provide a plot per year with for example subplots per month

-Windrose subplots

Probability density functions may be plotted. Fitting Weibull distribution is enabled by Scipy. The Weibull distribution is used in weather forecasting and the wind power industry to describe wind speed distributions, as the natural distribution of wind speeds often matches the Weibull shape

-pdf example

Documentation

Documentation Status Full documentation of library is available at http://windrose.readthedocs.io/

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.

Contributing

If you discover issues, have ideas for improvements or new features, please report them. CONTRIBUTING.md explains how to contribute to this project.

List of contributors and/or notable users

https://github.com/python-windrose/windrose/blob/master/CONTRIBUTORS.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].