1

weather file saved as epw is actually a txt

All,

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

juniacompostella's avatar
75
juniacompostella
asked 2016-11-19 14:00:27 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-05-29 09:31:30 -0500
edit flag offensive 0 remove flag 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 -0500) 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 -0500) 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 -0500) edit
add a comment see more comments

1 Answer

2

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
75
juniacompostella
answered 2016-11-20 13:11:44 -0500
edit flag offensive 0 remove flag delete 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 (2016-11-20 23:37:18 -0500) edit
add a comment see more comments