[gradsusr] Command produces a PNG image with transparent color 0 and a background image NE.png

Yaqiang Wang yaqiang.wang at gmail.com
Sat Nov 6 11:23:15 EDT 2010


Maybe you need to produce the figures like attached one.

On Sat, Nov 6, 2010 at 7:31 AM, Jeff Chabot <jsc219 at gmail.com> wrote:
> Hello GrADS Users again,
>
> I figured out the GrADS error.  The following command will fail because
> GrADS will look for ne.png (and will not find it):
>
> printim precip_NE_1.png png x570 y435 -b NE.png -t 0
>
> This works however:
>
> mv NE.png ne.png
>
> printim precip_NE_1.png png x570 y435 -b ne.png -t 0
>
> So, to me this sounds like a bug in 2.0a7, 2.0a9 and possibly other versions
> as well.
>
> By the way, to answer your questions, I am using local paths and not URLs.
> Also, I am creating these images in Fedora 13.
>
> Here are my results of a working background:
>
> http://jeffsweatherservice.com/grads/nam/ptype_NE_1.gif
>
> http://jeffsweatherservice.com/grads/nam/ptype_NE_2.gif
>
> Now, I still have to figure out a way to change my ptype to use a
> transparent color instead of white or black for no precip.  That of course
> is a work in progress.
>
> Thanks everyone.
>
> Sincerely,
>
>
> Jeff Chabot
> jsc219 at gmail.com
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image00223.png
Type: image/png
Size: 452125 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20101106/98449892/attachment-0001.png 


More information about the gradsusr mailing list