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 6 years ago

luvscientist's avatar

updated 5 years ago

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

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
2

answered 6 years ago

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
Preview: (hide)
link
2

answered 6 years ago

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.

Preview: (hide)
link

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: 6 years ago

Seen: 174 times

Last updated: Jun 20 '18