[Radiance-general] Errors with 'gendaymtx' and 'dctimestep'

Alireza Hashemloo alireh at uw.edu
Tue Mar 29 09:29:04 PDT 2016


Hi Greg and Andy,

Thank you for your responses.
I have excluded the '-n 8760' argument from the 'dctimestep' call and it
does not raise the "improper length" error anymore. However, there is a
couple of other errors raised:


OS X Yosemite 10.10.2
Radiance 5.0.8
Command Line Environment: Terminal


Command:

$ dctimestep -if -o hourlypics/back_%04d.hdr viewpics/back_%03d.hdr \
bsdf/fullwindow.xml matrices/daylightmatrix.dmx matrices/OakLand.smx

Error#1

fatal - cannot find BSDF file 'bsdf/fullwindow.xml'

Description:

In the five-phase method tutorial, there are two BSDF files generated in
".xml" format that are named as "fullwindow_klems.xml" and
"fullwindow_t45.xml". There are no BSDF files named "fullwindow.xml". So I
was wondering which
BSDF xml file is meant to be in the command?

Error#2

dctimestep: cannot open 'hourlypics/back_0001.hdr' for output.

Description:

I passed "fullwindow_klems.xml" instead of "fullwindow.xml" just to see if
the command would run into any other errors and the given dctimestep error
about the hourlypics/ directory is raised. I do not see any directory made
in any previous steps of the tutorial that is named "houlrypics". So I do
not understand what the given error is about.


Best Regards,
Alireza




On Mon, Mar 28, 2016 at 8:57 AM, Greg Ward <gregoryjward at gmail.com> wrote:

> Hi Alireza,
>
> Try your dctimestep command in Error#2 without the "-n 8760" option.  The
> behavior was changed since the tutorial was written so this option is no
> longer needed with recent releases of the software.  This has been
> mentioned in earlier threads this month, so you might want to go back and
> read through those:
>
>
> http://radiance-online.org/pipermail/radiance-general/2016-March/thread.html
>
> Cheers,
> -Greg
>
> *From: *Alireza Hashemloo <alireh at uw.edu>
>
> *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 <mcneil.andrew at gmail.com>
> 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 <alireh at uw.edu>
>> 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
>>>
>>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20160329/967aefbc/attachment-0001.html>


More information about the Radiance-general mailing list