From: Alireza Hashemloo <[email protected]>
Subject: Re: [Radiance-general] Errors with 'gendaymtx' and 'dctimestep'
Date: March 27, 2016 7:38:52 PM PDT
Hi Andy,
Thank your for your response.
Error#1:
I checked the link and added the 0.53 argument to the -5 option and it appears to work as I did not received the same error message again.
Error#2:
The 'daylightmatrix.dmx' is generated by the following command using the MF:1 option as shown in the section 6.5 of the tutorial:
$ genklemsamp -c 1000 -vd 0 -1 0 objects/daymtxsurf.rad | \
rcontrib -c 1000 -ab 2 -ad 1024 -e MF:1 -f reinhart.cal -b rbin -bn Nrbins \
-m sky_glow octs/model_3ph.oct > matrices/daylightmatrix.dmx
Once I run the dctimestep as shown in section 7.6 of the tutorial for the 'three-phase simulation part' of the five-phase process:
$ dctimestep -n 8760 -if -o hourlypics/back_%04d.hdr viewpics/back_%03d.hdr \
bsdf/fullwindow.xml matrices/daylightmatrix.dmx matrices/OakLand.smx
I receive the error message:
fatal - improper length for binary file 'matrices/Oakland_direct.smx'
The same error is raised when I call dctimestep for the 'direct sun component of the three-phase part' as well as 'direct sun component using the model with many suns' as shown in the section 7.6 of
the tutorial:
$ dctimestep -n 8760 -if -o hourlypics_dir/back_%04d.hdr viewpics_dir/back_%03d.hdr \
bsdf/fullwindow.xml matrices/daylightmatrix_direct.dmx matrices/OakLand_direct.smx
$ dctimestep -n 8760 -if -o hourlypics_ds/back_%04d.hdr viewpics_ds/back_%04d.hdr \
matrices/OakLand_direct_m6.smx
Thank you for your help,
Alireza
On Sun, Mar 27, 2016 at 4:24 PM, Andy McNeil <[email protected]> wrote:
Hi Alireza,
Error #1:
The problem and solution is explained here:
https://unmethours.com/question/10921/how-do-i-use-the-5-option-of-gendaymtx/
Error #2:
Have you checked that your daylight matrix uses the same sky subdivision as the sky matrix? The default for gendaymtx is 145 sky divisions.
Andy
On Sat, Mar 26, 2016 at 11:54 PM, Alireza Hashemloo <[email protected]> wrote:
Hello,
I have encountered two errors with gendaymtx and dctimestep with the five phase method tutorial that I would appreciate if you could help me with:
OS X Yosemite 10.10.2
Radiance 5.0.8
Command Line Environment: Terminal
Error #1
Command:
$ gendaymtx -5 -d -m 6 -of skies/OakLand.wea > matrices/OakLand_direct_m6.smx
Error Message:
gendaymtx: missing solar disk size argument for '-5' option
Error #2
Command:
$ dctimestep -n 8760 -if -o hourlypics/back_%04d.hdr viewpics/back_%03d.hdr \
bsdf/fullwindow.xml matrices/daylightmatrix.dmx matrices/OakLand.smx
Error Message:
fatal - improper length for binary file 'matrices/Oakland_direct.smx'
description: the 'Oakland_direct.smx' has been generated by the following command:
$ gendaymtx -of -d skies/OakLand.wea > matrices/OakLand_direct.smx
Thank you for your help,
Alireza