2

How to parse .stat file to csv or json?

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.

thoran's avatar
116
thoran
asked 2016-12-19 06:43:49 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-03-22 13:08:13 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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

Lyle K's avatar
2.2k
Lyle K
answered 2016-12-19 14:13:20 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments