[gradsusr] Overlay Issues with color.gs

Chorley Weather weatherstu at chorleyweather.com
Mon Sep 21 16:59:11 EDT 2015


Hi,

Is it possible to overlay these two images. I had success using the old 
clevs and ccols for both cloud and precip but when i upgraded the precip 
chart using colour.gs the overlay doesn't work, only the precip shows. 
Script below:


*'define dew  = const((dewpt(tmp2m,rh2m)-273.16),0,-u)'
'set gxout shaded'
'set csmooth on'
'set clevs 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100'
'set ccols 0 63 62 61 60 59 58 57 56 55 54 53 52 51 50 47 46 45 44 43 42 
41 17 39 38 37 36 35 34 33'

'd tcdcclm'
'printim gfs_uknocloudcover'i'.png x1100 y675'



'color -gxout shaded  0.5 50 0.5 -kind 
white->slateblue->green->limegreen->yellow->gold->orange->red->darkred->maroon->pink 
'
'd apcpsfc'

'printim gfs_UKcprec'i'.png x1100 y675 -b gfs_uknocloudcover'i'.png  -t 
0';#overlay/save 2nd variable on previous image, black as transparent


i = i+1
endwhile

Regards,
Stuart.
-- 
Chief Forecaster & Owner


More information about the gradsusr mailing list