Hi @AbrahamYezioro ,
I see you answred a topic about windroses and conditional statements, although it seems there are still some problems about how the windrose component takes into account conditional statements.
Contexte : my goal is to make a windrose for only certain hours of the years. For example, the hours where a building is occupied in july and august. For this, the analysis period component cannot do the trick alone. So my strategy was to make a conditional statement based on an hourly data from the EPW file (for example barometric pressure) that I modify by multipling some of the values by zero. Then I apply “a>1” conditional statement on this annual hourly data in order to remove all data that I’m not intersted in.
This strategy works fine for the radiation analysis, but for the wind rose, it doesn’t take into account the conditional statement properly. I carried out a test : a wind rose for the month of july and august. One made with a simple analysis period component. The other one is made with my strategy as explained above. They give completly different results.
Do you have any idea what could be the problem ? What is weird is that the component doesn’t complain about the modified hourly data, as it is exactly the same format as an hourly data strait from the EPW component…
There is the Gh file and a picture of the canva attached
problem windrose.gh (551.0 KB)