[Radiance-general] fatal - unexpected EOF in header_dctimestep

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Thu May 21 08:56:09 PDT 2015


Oh yeah, floats are a no go with Windows, at least with this stuff. Definitely use "-faa" instead of "-faf" when specifying the format...

On 5/21/15, 9:49 AM, "Greg Ward" <gregoryjward at gmail.com<mailto:gregoryjward at gmail.com>> wrote:

Hi Urtza,

I think you are right to suspect that you need to change the -m option parameter sky_glow to sky_mat with the change in your file.  Otherwise, I think your results in "south.dmx" might be missing.  What is the size of this file, and does it contain any data?

It's also untrustworthy to use binary file times under Windows.  I would remove the "-faf" option to rcontrib for that reason.

Cheers,
-Greg


From: urtza.uriarte at upc.edu<mailto:urtza.uriarte at upc.edu>

Subject: Re: [Radiance-general] fatal - unexpected EOF in header_dctimestep

Date: May 21, 2015 5:21:47 PM GMT+02:00

Hi Robert,

The commands that I used to generate the matrices are:

C:\Radiance\test\TheThree-PhaseMethodSimulatingCFS_A-McNeil\Example1\Viewmatrix>
rcontrib -f klems_full.cal -b kbinS -bn Nkbins -m windowglow -I+ -ab 2 -ad 512 -
lw 2e-5 model_vmx.oct < sensorpoints.pts > results/photocells.vmx

singleclear.xml file I get from WINDOW 7.3

C:\Radiance\test\TheThree-PhaseMethodSimulatingCFS_A-McNeil\Example1\Daylight Ma
trix>perl c:/radiance/bin/genklemsamp.pl -vd 0 -1 0 window.rad | rcontrib -c 100
0 -e MF:4 -f reinhart.cal -b rbin -bn Nrbins -m sky_glow -faf model_dmx.oct > re
sults/south.dmx

(I do not use in the Sky definition sky_glow name, that is suspicious I think. I put skyfunc:
void brightfunc skyfunc
2 skybr skybright.cal
0
3 2 2.29e-001 3.56e-002

skyfunc glow sky_mat
0
0
4 1 1 1 0
sky_mat source sky
0
0
4 0 0 1 180

skyfunc glow ground_mat
0
0
4 1 1 1 0
ground_mat source ground
0
0
4 0 0 -1 180
)

C:\Radiance\test\TheThree-PhaseMethodSimulatingCFS_A-McNeil\Example1\Sky Vector>
gensky 12 21 15 | perl c:\Radiance\bin\genskyvec.pl -m 4 -c 1 1 1 > skies/12_21_15.skv

Do not hesitate to ask me if you need more information.
Thanks!
Urtza.



"Guglielmetti, Robert" <Robert.Guglielmetti at nrel.gov<mailto:Robert.Guglielmetti at nrel.gov>> escribió:

I may have missed this part, but can you share the commands you used to generate the matrices?

On 5/21/15, 8:02 AM, "urtza.uriarte at upc.edu<mailto:urtza.uriarte at upc.edu><mailto:urtza.uriarte at upc.edu><mailto:urtza.uriarte at upc.edu>>" <urtza.uriarte at upc.edu<mailto:urtza.uriarte at upc.edu><mailto:urtza.uriarte at upc.edu>><mailto:urtza.uriarte at upc.edu>>> wrote:


Hello,

I am trying to finish The Three-phase Method, but, now I have problems with dctimestep. I put all files together:
.vmx
.xml
.dmx
.skv

However, fatal - unexpected EOF in header message scripts:


C:\Radiance\test\TheThree-PhaseMethodSimulatingCFS_A-McNeil\Example1\All>dctimes
tep results/photocells.vmx data/singleclear.xml results/south.dmx skies/12_21_15
.skv | rcalc -e "$1=179*($1*0.265+$2*0.670+$3*0.065)" > results/illum_122115_cle
ar.dat
fatal - unexpected EOF in header

Does anyone know what happen?
Thanks in advance!
Kin regards,
Urtza.



More information about the Radiance-general mailing list