I have a problem with data coupling and surfaces. I often run the model and then import it as .idf and .sql in GH.
In this case I have a simple 213 surface model simulated annually and I want to take for a given time period the values and calculate the percentile (95th) so that I get only one value per surface.
I then use LB Apply Analysis Period to filter them on the period, but then the only componento that tho found for calculating the percentile only exports to me by day, month or month by hour. I would like to have the percentile for the whole period filtered instead.
I used deconstruct data so as to use only the numerical values to calculate the percentile for each surface and “tried” to reconstruct the header as in the image. However I can’t using LB Construct Data and then entering it into HB Color faces to do what I want, it gives me this error:
Runtime error (AssertionException): Duplicate datetime was found in the collection: 01 Jan 01:00
line 428, in validate_analysis_period, “/Users/mbusnelli/Library/Application Support/McNeel/Rhinoceros/6.0/scripts/ladybug/datacollection.py”
line 61, in init, “/Users/mbusnelli/Library/Application Support/McNeel/Rhinoceros/6.0/scripts/honeybee_energy/result/colorobj.py”
line 490, in init, “/Users/mbusnelli/Library/Application Support/McNeel/Rhinoceros/6.0/scripts/honeybee_energy/result/colorobj.py”
line 108, in script
Is it possible to do it differently or where am I going wrong?
Thank you very much!