Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Radiance command not found

asked 2018-06-06 23:07:14 -0600

luvscientist's avatar

updated 2018-06-07 08:19:38 -0600

I used Radiance 5.0 Ver ( OS fedora)

Radiance run

**<Process>**

#!/bin/sh

###P40_Paju
oconv -r 10240 Paju_0417.sky Room.rad Prism_P40_10.rad Room_Win.rad > P40_Paju.oct
mkpmap -apg P40_Paju.gpm 5000 -t 30 \
 -apc P40_Paju.cpm 50000 P40_Paju.oct

rpict -ab 3 -aa .2 -ar 128 -ad 512 -dr 3 -dp 512 -t 10 \
   -ap P40_Paju.gpm 100 \
   -ap P40_Paju.cpm 500 \
   -vf view_Paju.view \
   -ro P40_1230.pic P40_Paju.oct

rtrace -w -h -I+ -ab 3 -aa .2 -ar 128 -ad 512 -dr 3 -dp 512 \
      -ap P40_Paju.gpm 100 \ 
      -ap P40_Paju.cpm 500 P40_Paju.oct
< luxCalcPos.inp | 
    rcale -e "$1=179*($1*0.265+$2*0.670+$3*0.065)" > P40_1230.dat

pcond -h P40_1230.pic > P40_1230.h.pic 
ra_t16 -3 P40_1230.h.pic > P40_1230.h.tga

**<Result>**
rtrace: system - cannot open octree file " " : NO such file or directory
P40_0417.sh : line 16: -ap : commnd not found
P40_0417.sh : line 18: rcale : commnd not found

why Result ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2018-06-07 09:02:04 -0600

Chris Rush's avatar

updated 2018-06-07 09:02:48 -0600

Regarding line 16, it looks like you have an extra space at the end of line 15 that means the backslash isn't properly escaping (cancelling) the newline, and thinks line 16 is a new command instead of a continuation. Just delete the space at the end of line 15 so that the backslash is the last character.

On line 18 i think it's just a misspelling of rcalc. Replace the "e" with a "c".

edit flag offensive delete link more

Comments

Thank you for your help.

luvscientist's avatar luvscientist  ( 2018-06-11 00:45:17 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-06-06 23:07:14 -0600

Seen: 207 times

Last updated: Jun 07 '18