Converting TMY, BIN and CSV files

5 posts / 0 new
Last post

Hi All,

I've seen a bunch of questions on the list-serve about creating custom
weather files, but never figured out how to do it myself.

I've been able to create a custom CSV file (and then removed all commas), so
I should now have a custom TMY file. How do I get it into BIN format so
eQuest can read it? I downloaded the conversion files from DOE2 (
http://doe2.com/index_Wth.html), but can't get them to work so far. Does
anyone have a more complete description of how to make them work? Also, I
am running Vista... not sure if this is a problem as the conversion programs
are DOS based.

Thanks,

--
Karen

No Username provide's picture
Joined: 2011-09-30
Reputation: 200

Karen,

See if my past instructions on the matter help:

http://lists.onebuilding.org/pipermail/bldg-sim-onebuilding.org/2008-May
/007524.html

Scott Horowitz

Horowitz, Scott2's picture
Joined: 2011-10-02
Reputation: 0

Hi Scott,

Thanks for your response. I tried your method (on both Vista and XP
machines), and the files are created, but the NEWTH.TMP file has no info in
it (0KB) any thoughts?

Thanks again,

--
Karen

No Username provide's picture
Joined: 2011-09-30
Reputation: 200

Karen,

I believe a file called OUTPUT (or something like that) is created in
the EXENT directory and displays errors found while parsing the TMY2.
Also, perhaps you can double-check that you have a valid TMY2 file. For
example, you could try using the EnergyPlus weather converter to see if
it can successfully convert the TMY2 to an EPW weather file, or you
could try driving a simulation program that uses TMY2 files directly.

I should also point out that the 3rd line in the INPUT.TMP file should
have two spaces after the "TMY2" label - this has been a source of
confusion in the past.

Scott

Horowitz, Scott2's picture
Joined: 2011-10-02
Reputation: 0

Bill,

my file looks like this:

14742 BURLINGTON VT -5 N 44 28 W 73 9 104
86010101000000000000?00000?00000?00000?00000?00000?00000?010A710A70011A7-028A7076A70994A7190A7036A70080A701006A70999099999009E7036F8015A700E7
86010102000000000000?00000?00000?00000?00000?00000?00000?010A710A70006A7-022A7082A70995A7210A7015A70080A700823A70999099999009E7036F8015A700E7
86010103000000000000?00000?00000?00000?00000?00000?00000?010A710A70017A7-067A7054A70995A7260A7062A70113A701829A70999999999007E7036F8015A700E7
86010104000000000000?00000?00000?00000?00000?00000?00000?010A710A70011A7-067A7057A70996A7260A7077A70113A701829A70999999999007E7036F8015A700E7
86010105000000000000?00000?00000?00000?00000?00000?00000?010A710A7-017A7-056A7075A70996A7320A7077A70113A700975A70999099999008E7036F8015A700E7
86010106000000000000?00000?00000?00000?00000?00000?00000?010A710A7-028A7-067A7075A70998A7340A7052A70097A701219A70999099999007E7036F8015A700E7
86010107000000000000?00000?00000?00000?00000?00000?00000?010A710A7-033A7-044A7092A70999A7320A7057A70012A700213A70999099099008E7036F8015A700E7

... etc. The file I'm trying to convert is simply the downloaded version
from the nrel website. I can get my weather data into this sort of text
format, so I just need to be able to get it back to bin!!!

However, I keep getting the following error:

--- ERROR --- END OF FILE READ. TAPE TYPE TMY2

Some solutions others have suggested that have not worked so far...

1. Try using energy plus to convert the file to an energy plus format, just
to make sure that the source file is valid--Energy Plus had no problem with
the file

2. Is the INPUT.TM2 text in exactly the right format (correct number of
spaces and station ID numbers)--Yes, this is exactly as demonstrated here (
http://lists.onebuilding.org/pipermail/bldg-sim-onebuilding.org/2008-May/007524.html),
with two spaces between the "TMY2" and station ID on line 3, and a 5-digit
station ID which matches the WEATHER.TMP file.

3. When the files are saved as TMP files, are they WEATHER.TMP.TXT and
INPUT.TMP.TXT, or are they truly TMP files--They are truly TMP files. In
the explorer, under "TYPE" they are identified as TMP files.

Thanks everyone for your suggestions please let me know if you have any
others.

--
Karen

No Username provide's picture
Joined: 2011-09-30
Reputation: 200