[gradsusr] Overlay Issues with color.gs

Stephen McMillan smcmillan at planalytics.com
Mon Sep 21 17:20:27 EDT 2015


Hi Stuart,

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.

Good luck--
Stephen Mc

On Mon, Sep 21, 2015 at 4:59 PM, Chorley Weather <
weatherstu at chorleyweather.com> wrote:

> 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
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150921/dae854c9/attachment.html 


More information about the gradsusr mailing list