plotting wind-speed time series

Thanks to everybody that responded to my question.

After looking at the different options, I do agree that windrose.py fits my need the best. Unfortunately, there is insufficient information embedded in the code to the point where I can use it. I sent the author a email requesting more info and hopefully he would respond.

Just in case, have anybody used this code successfully? If so, could you please share a sample dataset to use windrose.py?

Thanks,

···

grab "windrose.py" at the end of this thread

http://www.nabble.com/windrose-t1392107.html

I've not used it but I think it is what you are looking for: a windrose module for python.

JDH

--
John Henry

John

If you look through the thread, you will see I have responded before
saying I that had used this code successfully. I did not find any
detailed documentation necessary... the program is really self-
explanatory and well-commented.

Here is a sample that works for me:

from pylab import *
import windrose
figure(figsize=(8,8), facecolor='w')
ventV = [ 0.2, 0.2, 0.35, 0.09, 0.55, 0.5, 0.2, 0.33, 0.44, 0.22 ]
ventD = [ 65., 59., 74., 231., 268., 283., 166., 214., 66., 114.]
freq,ax=windrose.windplot(ventV,ventD,counts=False,speed_classes=[0.1,0.2,0.3,0.4,0.5],sectors=8,style='bar2')
title("And here is the title!", fontsize=14)
fig=ax.get_figure()
#for leg in fig.legends:
# setp(leg.get_texts(), fontsize=8)
draw()
show()

The commented code is in case you want to set the font
size for the legend.

Derek

PS As I said before, I suggest you get the latest version.

<kc106_2005-matplotlib@...9...> 2007/05/07 11:47 PM >>>

Thanks to everybody that responded to my question.

After looking at the different options, I do agree that windrose.py
fits my need the best. Unfortunately, there is insufficient information
embedded in the code to the point where I can use it. I sent the author
a email requesting more info and hopefully he would respond.

Just in case, have anybody used this code successfully? If so, could
you please share a sample dataset to use windrose.py?

Thanks,

grab "windrose.py" at the end of this thread

http://www.nabble.com/windrose-t1392107.html

I've not used it but I think it is what you are looking for: a

windrose module for python.

···

JDH

--
John Henry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net

--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.

CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html

CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html

For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre@...1230...

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.

Hi John,
sorry for the latency, 08 may is a special day in France.
Derek gives you a good example of how to use windrose, in addition I just say
you can directly modify the font size of the legend with the "legendsize"
option (have a look at all the options with help(windplot)).
Except is what you want.
Cordialy

PS: I'm working on a graphical interface for windrose, don't know when I can
finalyse it, maybe for the next month. I set a screenshot here.

···

Le Lundi 07 Mai 2007 23:47, kc106_2005-matplotlib@...9... a écrit :

Thanks to everybody that responded to my question.

After looking at the different options, I do agree that windrose.py fits my
need the best. Unfortunately, there is insufficient information embedded
in the code to the point where I can use it. I sent the author a email
requesting more info and hopefully he would respond.

Just in case, have anybody used this code successfully? If so, could you
please share a sample dataset to use windrose.py?

Thanks,

> grab "windrose.py" at the end of this thread
>
>http://www.nabble.com/windrose-t1392107.html
>
>I've not used it but I think it is what you are looking for: a windrose
> module for python.
>
>JDH

--
John Henry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Lionel Roubeyrie - lroubeyrie@...1068...
Chagé d'études et de maintenance
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr

Lionel Roubeyrie wrote:

PS: I'm working on a graphical interface for windrose, don't know when I can finalyse it, maybe for the next month. I set a screenshot here.

pretty cool. Is that pyGTK or wxPython?

Keep us apprised, this looks nice, and I think I could use it (though I need wxPython)

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

It's PyQt3, I hope using PyQt4 in a future release. I'm also going to make
some changes in the windfreq part, don't sure to keep missing values is good
for the computation. For the moment, my major problem is the legend, because
polar axes don't have one, so I must use figlegend, and it's not very
useable.
Thanks for your compliments

···

Le Mercredi 09 Mai 2007 20:06, Christopher Barker a écrit :

Lionel Roubeyrie wrote:
> PS: I'm working on a graphical interface for windrose, don't know when I
> can finalyse it, maybe for the next month. I set a screenshot here.

pretty cool. Is that pyGTK or wxPython?

Keep us apprised, this looks nice, and I think I could use it (though I
need wxPython)

-Chris

--
Lionel Roubeyrie - lroubeyrie@...1068...
Chagé d'études et de maintenance
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr

I recently added legend support for polar to matplotlib svn.

JDH

···

On 5/10/07, Lionel Roubeyrie <lroubeyrie@...1068...> wrote:

It's PyQt3, I hope using PyQt4 in a future release. I'm also going to make
some changes in the windfreq part, don't sure to keep missing values is good
for the computation. For the moment, my major problem is the legend, because
polar axes don't have one, so I must use figlegend, and it's not very
useable.

Good news. When the next "production" version will be released?

···

Le Jeudi 10 Mai 2007 15:47, John Hunter a écrit :

I recently added legend support for polar to matplotlib svn.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Lionel Roubeyrie - lroubeyrie@...1068...
Chagé d'études et de maintenance
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr