Lionel Roubeyrie & Sebastien Celles

windrose Documentation

Lionel Roubeyrie & Sebastien Celles

May 06, 2022

Contents:

1 Install

3

1.1 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.2 Install latest release version via pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.3 Install latest development version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Notebook example

5

3 Script example

7

3.1 A stacked histogram with normed (displayed in percent) results . . . . . . . . . . . . . . . . . . . . 7

3.2 Another stacked histogram representation, not normed, with bins limits . . . . . . . . . . . . . . . . 7

3.3 A windrose in filled representation, with a controlled colormap . . . . . . . . . . . . . . . . . . . . 9

3.4 Same as above, but with contours over each filled region. . . . . . . . . . . . . . . . . . . . . . . . . 9

3.5 . . . or without filled regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

3.6 probability density function (pdf) and fitting Weibull distribution . . . . . . . . . . . . . . . . . . . 12

3.7 Overlay of a map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

4 Functional API

17

5 Pandas support

19

6 Subplots

21

7 Video export

23

8 Development

27

8.1 Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

8.2 Clone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

8.3 Run unit tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

8.4 Install development version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

8.5 Collaborating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

9 API

29

10 Indices and tables

37

Python Module Index

39

Index

41

i

ii

windrose Documentation

Contents:

1

windrose Documentation

2

Contents:

1 CHAPTER

1.1 Requirements

? matplotlib ? numpy ? and naturally python :-P Option libraries: ? Pandas (to feed plot functions easily) ? SciPy (to fit data with Weibull distribution) ? ffmpeg (to output video) ? click (for command line interface tools)

1.2 Install latest release version via pip

A package is available and can be downloaded from PyPi and installed using: $ pip install windrose

1.3 Install latest development version

$ pip install git+ or

Install

3

windrose Documentation

$ git clone $ python setup.py install

4

Chapter 1. Install

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download