Questions tagged [windrose]

For questions related to the python windrose meteorological graphics tool. Use the rose-plot tag for generic questions about rose plots.

33 questions
8
votes
1 answer

How does one add a colorbar to a polar plot (rose diagram)?

In this example the color is correlative to the radius of each bar. How would one add a colorbar to this plot? My code mimics a "rose diagram" projection which is essentially a bar chart on a polar projection. here is a part of it: angle =…
Shahar
  • 886
  • 1
  • 10
  • 22
7
votes
3 answers

Subplot of Windrose in matplotlib

I am trying to make a figure with 4 subplots of windrose, But I realised that the windrose only have axis like this:ax = WindroseAxes.from_ax() So, how can I draw a subplots with windrose?
Owen
  • 397
  • 7
  • 18
6
votes
1 answer

custom scaling of a wind rose plot

I am trying to compare wind roses in python, but it is difficult because I cannot figure out how to make the same scale across all of the plots. Someone else asked the same question here Custom percentage scale used by windrose.py but it was not…
pwprnt
  • 521
  • 3
  • 9
  • 27
4
votes
1 answer

Windrose axespad meaning

I am new to Python and am attempting to create a wind rose using the windrose.py code found at this website: http://sourceforge.net/projects/windrose/ The following is the code I am running and I found the example code at the following…
PythonUser
  • 41
  • 2
2
votes
0 answers

Windrose using wind data - not sure about convention

I'm doing some statistics on ERA5 surface wind data. I've downloaded the u,v components and estimated wind direction using atan2(v,u) and converting it to positive degrees. Based on the ERA5 documentation, the positive direction is for wind blowing…
Kiarasky
  • 29
  • 2
2
votes
1 answer

subplots in windrose diagram

I am very beginner to python. By following this example I tried to make windrose subplots like: but I am getting plots in this way: The code that I tried is: ws = np.random.random(500) * 6 wd = np.random.random(500) *…
bikuser
  • 2,013
  • 4
  • 33
  • 57
2
votes
1 answer

Plotting a wind rose the Windrose Library

I've got wind data which includes wind speed and wind direction. However, my wind direction is defined anti-clockwise. Meaning, 45 deg for my data is actually NW. Is there any chance to change this using Windrose in Python? I've got the following…
Kakemonster
  • 97
  • 2
  • 11
2
votes
1 answer

Windrose legend bracket format and loc

Below I have plotted a wind rose using Windrose based on this. Firstly, the legend is covering part of the rose but when I try to use loc to set its location the legend disappears. Secondly, the legend closing brackets are wrong i.e. [0.0 : 1.0[ any…
squar_o
  • 557
  • 2
  • 11
  • 36
1
vote
1 answer

How to get angled labels of wind rose diagram in R using ggplot2?

I would like to plot a seperate legend to my wind rose diagram where the labels are angled in accordance with the 18 categories in the plot. Is that possible with ggplot? Example of what output would look…
Moa
  • 15
  • 2
1
vote
1 answer

Python/Pandas: No counting records above certain value

I am trying to make a windrose from Excel data and I need to skip all values bigger than 10 for velocity. The data range is from 0 to 17 and I only want values from 0 to 10 showing on the windrose. How can I achieve that? import pandas as pd from…
1
vote
1 answer

Plot windroses subplots on the same figure

there is a beautiful example of subplots display with windroses but I don't find any code of it, and for me the function windroseaxes is a blackbox. Here is my code, it's generate 2 plots of windrose and I try to have one plot with two subplots…
BenjiBoy
  • 141
  • 7
1
vote
1 answer

create multiple windrose subplots in one loop code

I am trying to make pollution windroses using the Windrose library. I have 5 sites and want to create one figure per each site (denoted by the four digit number at the end of the column name), but each figure will have 12 pollution windrose subplots…
obscuredbyclouds
  • 189
  • 1
  • 1
  • 15
1
vote
1 answer

Plotting Windrose from csv

I would like to plot a windrose from data in .csv file. From the Windrose documentation, it looks like I need the wind speed, wind direction, and date as index column (csv here). I tried multiple ways around it but always run into errors. The error…
SiegmundNuyts
  • 67
  • 1
  • 12
1
vote
1 answer

seasonal WindRose subplots

I'm trying to make WindRoses for the four seasons of the year on the same plot. I tried to follow the method from Subplot of Windrose in matplotlib but the method did not work for me. I also tried the following from…
obscuredbyclouds
  • 189
  • 1
  • 1
  • 15
1
vote
1 answer

How to plot a windrose when the wind direction is a categorical value

From Dataset Australia Rainfall, I'm trying to predict RainTomorrow. Here is my code given below : Downloading dataset directly from Kaggle using opendatasets library import opendatasets as od dataset_url =…
1
2 3