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

weather file saved as epw is actually a txt

asked 2016-11-19 14:00:27 -0600

updated 2017-05-29 09:31:30 -0600

All,

the epw weather file downloaded from EnergyPlus was saved as epw but is actually a txt. how can i transform it into epw?

edit retag flag offensive close merge delete

Comments

When I download from this site, it saves it as a .epw file, and is able to be read as a .epw file. Keep in mind that an .epw file is a text file, just saved with a very specific syntax outlined here.

mdahlhausen's avatar mdahlhausen  ( 2016-11-19 15:01:01 -0600 )edit

it saves it as an .EPW but if I look in the file properties it is actually an EPW.TXT. So I cannot change the file extension. It is a "fake" EPW. In fact it wont run in EnergyPlus. Any ideas?

juniacompostella's avatar juniacompostella  ( 2016-11-20 13:11:52 -0600 )edit

The steps mentioned by @mdahlhausen and @pflaumingo should help you change the extension. Make sure that when you save from Notepad or Notepad++, you specify the extension (.epw) and in the "file type" option choose "all files". EPW is a text file, but it should have only the .epw extension for EPlus to accept it.

It should also work if you manually rename the file to examplelocation.epw, removing the .txt extension. For that second method, you would need to enable display of extensions in your OS, of course.

rastogi's avatar rastogi  ( 2016-11-22 04:45:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-11-20 13:11:44 -0600

it saves it as an .EPW but if I look in the file properties it is actually an EPW.TXT. So I cannot change the file extension. It is a "fake" EPW. In fact it wont run in EnergyPlus. Any ideas?

edit flag offensive delete link more

Comments

1

If you open it in Notepad and save it as "ExampleLocation.epw" including the quotations, does it solve the issue?

pflaumingo's avatar pflaumingo  ( 2016-11-20 23:37:18 -0600 )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-11-19 14:00:27 -0600

Seen: 1,605 times

Last updated: Nov 20 '16