UCHIC / iUTAHData

The iUTAH Modeling and Data Federation website - data.iutahepscor.org.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Add Windrose Plot #38

Closed AmberSJones closed 9 years ago

AmberSJones commented 10 years ago

The technicians are requesting a windrose plot. I think the dynamic site pages are a good place to house this. I don't know what libraries we're using- a python example is here: http://youarealegend.blogspot.com/2008/09/windrose.html

marioscience commented 10 years ago

So I'm guessing we would use a windrose graph for each wind speed variables. Is this correct? The library we are using is d3.js (http://d3js.org/).

AmberSJones commented 10 years ago

The windrose plot would be for wind direction and possible wind speed also- I asked the technicians what they would prefer. This is a d3js example: http://windhistory.com/station.html?KSAF

AmberSJones commented 10 years ago

Here is another js example that is even better- I'm not sure if you could implement this? http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/polar-wind-rose/

marioscience commented 9 years ago

Windrose plot is now working. There are a couple of details to solve with some sites where the proportions don't add to 100% when there is only one direction and speed range showing. Also, there are some minimal modifications to make to make it work in the Wilkins site since the variable code for wind speed and direction are different.

AmberSJones commented 9 years ago

This is looking good! I'm going to have the technicians take a look to see if they have any feedback as they're the ones who requested it.

A few things: I'm thinking we should not display the table of frequencies. Also, I noticed several sites for which there is no wind data displayed - for example, Todd's Meadow.

marioscience commented 9 years ago

These errors were worked out. The table was just for developing and testing.

AmberSJones commented 9 years ago

Techicians' feedback is positive! I'm closing this issue- let's get this pushed to the publication server.

Note that right now I am getting a server error on the sandbox server for all of the Red Butte sites.