Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

How to parse .stat file to csv or json?

asked 2016-12-19 06:43:49 -0500

thoran's avatar

updated 2023-03-22 13:08:13 -0500

I am doing some data analytics on weather data. At first I wanted to process epw files but then I realized that it is already done and available as .stat files. The problem though is to extract data from these files. I used regex for a few variables, but it is just too much time consuming. Does anyone have a better solution to parse these files preferably to csv or json? If the source code for the weather.exe is available somewhere, I could modify it to save the output as csv or json format.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-12-19 14:13:20 -0500

If you are looking at US TMY3 weather files you can download them in .CSV format HERE

edit flag offensive delete link more

Comments

Thank you Lyle for your answer. I have switched to using ddy and found all the csv files in the energyplus installation directory.

thoran's avatar thoran  ( 2016-12-20 06:36:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2016-12-19 06:43:49 -0500

Seen: 282 times

Last updated: Dec 19 '16