<div dir="ltr">Hi Stuart,<div><br></div><div>According to the script you provided, your 2nd printim specifies 0 as transparent. Are you indeed using a black background with the overlay? If not, you may need to specify a different color.</div><div><br></div><div>Good luck--</div><div>Stephen Mc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 4:59 PM, Chorley Weather <span dir="ltr"><<a href="mailto:weatherstu@chorleyweather.com" target="_blank">weatherstu@chorleyweather.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Is it possible to overlay these two images. I had success using the old<br>
clevs and ccols for both cloud and precip but when i upgraded the precip<br>
chart using <a href="http://colour.gs" rel="noreferrer" target="_blank">colour.gs</a> the overlay doesn't work, only the precip shows.<br>
Script below:<br>
<br>
<br>
*'define dew = const((dewpt(tmp2m,rh2m)-273.16),0,-u)'<br>
'set gxout shaded'<br>
'set csmooth on'<br>
'set clevs 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100'<br>
'set ccols 0 63 62 61 60 59 58 57 56 55 54 53 52 51 50 47 46 45 44 43 42<br>
41 17 39 38 37 36 35 34 33'<br>
<br>
'd tcdcclm'<br>
'printim gfs_uknocloudcover'i'.png x1100 y675'<br>
<br>
<br>
<br>
'color -gxout shaded 0.5 50 0.5 -kind<br>
white->slateblue->green->limegreen->yellow->gold->orange->red->darkred->maroon->pink<br>
'<br>
'd apcpsfc'<br>
<br>
'printim gfs_UKcprec'i'.png x1100 y675 -b gfs_uknocloudcover'i'.png -t<br>
0';#overlay/save 2nd variable on previous image, black as transparent<br>
<br>
<br>
i = i+1<br>
endwhile<br>
<br>
Regards,<br>
Stuart.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Chief Forecaster & Owner<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</font></span></blockquote></div><br></div>