WEA object in grasshopper/Honeybee[+] from file


Hello everybody,

I am currently working on a project where I want to use weather data with a 1 minute interval in Honeybee(+). I managed to get a WEA file, but I cannot find a way to import this into Grasshopper. Honeybee(+) uses a WEA object which is generated from an EPW weather file using EPW2WEA. EPW weather files don’t support data intervals less than 1 hour so I cannot use EPW2WEA directly in Grasshopper.

I have found a wea.from_file classmethod that might be able to solve the problem. But my limited knowledge about phyton makes it difficult for me to solve the problem. I found the code that is being used, and I think that the classmethod starting at line 130 can be used to import a WEA object from a WEA file which can then be used by Honeybee(+). (https://github.com/ladybug-tools/ladybug/blob/master/ladybug/wea.py Not yet allowed to upload documents)

It would be really helpful if anyone could take a look or point me in the right direction.


Hi @Wossly

Is this working for you?


Thank you so much @MingboPeng, this is working for me!