Convert Bin to Text

5 posts / 0 new
Last post

Can anyone provide step by step instructions on how to convert bin files to
text files using the DOEWth converter? I still can't figure it out after
reading the few suggestions in the archives. Why isn't there a manual for
this sort of thing? I don't speak DOS or Binary so the "readme" file isn't
much help. Thanks.

Anthony Hardman

Anthony Hardman's picture
Offline
Joined: 2011-09-30
Reputation: 0

I've been trying to resolve this as well and haven't received any
insight. Attached is my workflow... maybe you'll see my error.

Matthew Higgins, LEED AP + ASHRAE-HBDP

Matthew Higgins's picture
Offline
Joined: 2011-09-30
Reputation: 0

Anthony,

Using the DOS Command Prompt, navigate to the directory where "BIN2TXT.EXE" is.

See attached JPG (in my example, "BIN2TXT.EXE" is in: "C:\WeatherProcessor\UTIL32").

The BIN to convert must be in the same directory ("C:\WeatherProcessor\UTIL32" in my example) and must be renamed "Weather.bin".

The converted file (the text file) will have the name "Weather.fmt".

_____________
Demba Ndiaye

Demba Ndiaye2's picture
Offline
Joined: 2011-09-30
Reputation: 0

An HTML attachment was scrubbed...
URL:

Scott Criswell's picture
Offline
Joined: 2011-09-30
Reputation: 0

The labels for all the columns are indicated in the source code that you find in the same directory.

Here they are:

Col1 IM2 MOMTH (1-12)
Col2 ID DAY OF MONTH
Col3 IH HOUR OF DAY
Col4 CALC(1) WET BULB TEMP (DEG F)
Col5 CALC(2) DRY BULB TEMP (DEG F)
Col6 CALC(3) PRESSURE (INCHES OF HG)
Col7 CALC(4) CLOUD AMOUNT (0 - 10)
Col8 ISNOW SNOW FLAG (1 = SNOWFALL)
Col9 IRAIN RAIN FLAG (1 = RAINFALL)
Col10 IWNDDR WIND DIRECTION (0 - 15; 0=N, 1=NNE, ETC)
Col11 CALC(8) HUMIDITY RATIO (LB H2O/LB AIR)
Col12 CALC(9) DENSITY OF AIR (LB/CU FT)
Col13 CALC(10) SPECIFIC ENTHALPY (BTU/LB)
C0l14 CALC(11) TOTAL HOR. SOLAR (BTU/HR-SQFT)
Col15 CALC(12) DIR. NORMAL SOLAR (BTU/HR-SQFT)
Col16 ICLDTY CLOUD TYPE (0 - 2)
Col17 CALC(14) WIND SPEED KNOTS
_____________
Demba Ndiaye

Demba Ndiaye2's picture
Offline
Joined: 2011-09-30
Reputation: 0