I want to plot wind rose diagrams but I don't know how to use windrose.m file. Can anybody tell me how to use this file?

 Akzeptierte Antwort

Star Strider
Star Strider am 3 Apr. 2015

0 Stimmen

I don’t know what format your data are in. You can always use the rose plot function, or if you have data in the form this person has, use the code I wrote in Rose diagram for discrete data.

4 Kommentare

Varun Agrawal
Varun Agrawal am 4 Apr. 2015
I have two data sets, one is hourly wind speed data of a site and other is direction data at every three hours with some missing entries.
Star Strider
Star Strider am 4 Apr. 2015
I don’t know how you want to deal with hourly wind velocity and incomplete direction data every three hours. Those are your decisions, but you have to have one set of direction data and one set of velocity data to use any function I’m aware of (including nine). I would either average the velocity data, or interpolate the missing direction data. That choice is yours. (Meteorologic phenomena are rarely of sufficient frequency that you would have to sample them more often than every hour.) I would interpolate the missing entries, unless they are missing because the velocity was so extreme that the anemometer or windvane broke. (This has been known to occur.)
You have to create a data set that meets your continuity requirements first (hourly or thrice-hourly). Then we can determine the appropriate plot for them. You may want to consider pol2cart and plot3 as well if you want velocity and direction (x,y) as a function of time (z).
Varun Agrawal
Varun Agrawal am 4 Apr. 2015
Thanks for your suggestions.I will come back to you if more help needed
Star Strider
Star Strider am 4 Apr. 2015
My pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Weather and Atmospheric Science finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by