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

rpict : warning - new output file "P40_1230.pic"

asked 2018-06-19 23:43:51 -0600

luvscientist's avatar

updated 2020-03-10 10:51:34 -0600

hello I used Radiance 5.0 Ver (OS fedora)

Process

#!/bin/sh

###P40_Paju
oconv -r 10240 Paju_0417.sky Room.rad Prism_P40_10.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 | rcalc -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

rpict : warning - new output file "P40_1230.pic"

why result?

please give me solution

thank you

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2018-06-20 02:56:30 -0600

It appears that there is no pipe between pcond and ra_t16. If your aim is to just get to the tga file in the end, you can replace this command ...

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

..with this:

pcond -h P40_1230.pic | ra_t16 -3 > P40_1230.h.tga
edit flag offensive delete link more
2

answered 2018-06-20 10:16:04 -0600

The warning from rpict is just a warning. It's due to your choice of the "-ro" option to specify the output file, which means you want to continue the rendering of a picture that was partially completed by an aborted rpict run. If the file "P40_1230.pic" doesn't exist before you run the command, it warns you about that. Normally, you would use the "-o" option if you are creating a new image.

edit flag offensive delete link more

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-19 23:43:51 -0600

Seen: 158 times

Last updated: Jun 20 '18