First time here? Check out the Help page!

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 8 years ago

updated 7 years ago

All,

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

Preview: (hide)

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  ( 8 years ago )

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  ( 8 years ago )

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  ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 8 years ago

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?

Preview: (hide)
link

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  ( 8 years ago )

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: 8 years ago

Seen: 1,662 times

Last updated: Nov 20 '16