| 69 |
|
endif |
| 70 |
|
echo "Title for output picture" |
| 71 |
|
readvar title |
| 72 |
+ |
set sctemp=/usr/tmp/sc$$.csh |
| 73 |
|
cat <<'_EOF_' > $sctemp |
| 74 |
|
set iltemp=/usr/tmp/il$$.pic |
| 74 |
– |
set sctemp=/usr/tmp/sc$$.csh |
| 75 |
|
set tltemp=/usr/tmp/tl$$.pic |
| 76 |
|
set tempfiles=($iltemp $sctemp $tltemp) |
| 77 |
|
echo "Your dayfact job is finished." |
| 82 |
|
| rcalc -e '$1=($2+.5)/'"$wpres[1]*$wpsize[1]+$wporig[1]" \ |
| 83 |
|
-e '$2=(1-($1+.5)/'"$wpres[2])*$wpsize[2]+$wporig[2]" \ |
| 84 |
|
-e '$3='"$wporig[3]" -e '$4=0;$5=0;$6=1' \ |
| 85 |
< |
| rtrace $rtargs -I -ov -faf $octree \ |
| 85 |
> |
| rtrace $rtargs -h+ -I+ -ov -faf $octree \ |
| 86 |
|
| pvalue -r -x $wpres[1] -y $wpres[2] -df \ |
| 87 |
|
| pfilt -h 20 -n 0 -x 350 -y 350 -p 1 -r 1 > $iltemp |
| 88 |
|
set maxval=`getinfo < $iltemp | rcalc -i 'EXPOSURE=${e}' -e '$1=3/e'` |
| 90 |
|
'_EOF_' |
| 91 |
|
if ( "$ilpict" != "$nofile" ) then |
| 92 |
|
echo 'falsecolor -cb -l Lux $fcopts \\ |
| 93 |
< |
-s "$maxval*470" -m 470 -pi $iltemp \\ |
| 93 |
> |
-s "$maxval*470" -m 470 -ip $iltemp \\ |
| 94 |
|
| pcompos -a 1 - $tltemp > $ilpict' >> $sctemp |
| 95 |
|
endif |
| 96 |
|
if ( "$dfpict" != "$nofile" ) then |
| 97 |
|
echo 'falsecolor -cb -l DF $fcopts \\ |
| 98 |
< |
-s "100*$maxval/$extamb" -m "100/$extamb" -pi $iltemp \\ |
| 98 |
> |
-s "100/PI*$maxval/$extamb" -m "100/PI/$extamb" -ip $iltemp \\ |
| 99 |
|
| pcompos -a 1 - $tltemp > $dfpict' >> $sctemp |
| 100 |
|
endif |
| 101 |
|
echo 'rm -f $tempfiles' >> $sctemp |