[gradsusr] Overlay Issues with color.gs
AMS EmsiWx Bytča
emsiwx at pocasie-bytca.sk
Tue Sep 22 01:11:01 EDT 2015
Hi Stuart,
try with this (Color number 0 is used only in one level)
'color -gxout shaded 0.5 50 0.5 -kind 0-(0)->white->slateblue->green->limegreen->yellow->gold->orange->red->darkred->maroon->pink'
Regards,
Marian
Dňa 21. 9. 2015 o 22:59 Chorley Weather napísal(a):
> 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.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150922/1229c9ba/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: podpis_new.png
Type: image/png
Size: 42309 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20150922/1229c9ba/attachment-0001.png
More information about the gradsusr
mailing list