--- ray/src/util/dayfact.csh 2005/02/16 05:40:12 2.6 +++ ray/src/util/dayfact.csh 2005/10/06 05:49:44 2.7 @@ -1,5 +1,5 @@ #!/bin/csh -f -# RCSid: $Id: dayfact.csh,v 2.6 2005/02/16 05:40:12 greg Exp $ +# RCSid: $Id: dayfact.csh,v 2.7 2005/10/06 05:49:44 greg Exp $ # # Interactive script to calculate daylight factors # @@ -141,6 +141,7 @@ if ( ! $?gotillumpic ) then pfilt -h 20 -n 0 -x 300 -y 300 -p 1 -r 1 $temp1 > $illumpic endif set maxval=`getinfo < $illumpic | rcalc -i 'EXPOSURE=${e}' -e '$1=3/e'` +if ("$maxval" == "") set maxval=3 psign -h 42 " $title " | pfilt -1 -x /2 -y /2 > $tltemp '_EOF_' if ( $ilpict != $nofile ) then @@ -149,7 +150,7 @@ if ( $ilpict != $nofile ) then | pcompos -a 1 - $tltemp > $ilpict' >> $sctemp endif if ( $dfpict != $nofile ) then - echo 'falsecolor -cb -l DF -s 50 \\ + echo 'falsecolor -cb -l DF -s 16 \\ $fcopts -m "100/PI/$extamb" -ip $illumpic \\ | pcompos -a 1 - $tltemp > $dfpict' >> $sctemp endif