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?
First time here? Check out the Help page!
All,
the epw weather file downloaded from EnergyPlus was saved as epw but is actually a txt. how can i transform it into epw?
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?
If you open it in Notepad and save it as "ExampleLocation.epw" including the quotations, does it solve the issue?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2016-11-19 14:00:27 -0600
Seen: 1,605 times
Last updated: Nov 20 '16
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.
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?
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.