[ncl-talk] PNG image quality in v6.2.0 and later

Rick Brownrigg brownrig at ucar.edu
Fri Sep 9 17:06:38 MDT 2016


Hi Russ,

I'll check into it.  I can't recall that there were many contouring changes
made at 6.2.0, so it might be a more fundamental graphics issue(?)

I don't need your whole script, but if you could reply directly to me with
all the contouring resource settings you are using, most especially
"cnFillMode", that would help.

Thanks for pointing this out -- I do agree that the first plot looks nicer.

Rick

On Fri, Sep 9, 2016 at 3:52 PM, Russ Schumacher <
Russ.Schumacher at colostate.edu> wrote:

> Hello,
>
> I had been using NCL v6.1.2 for a long time and recently needed to upgrade
> on a machine and installed v6.3.0. I’m having an issue where PNG images
> don’t look nearly as good in the more recent versions of NCL.  I see that
> there were many changes to contouring made after v6.2.0 so it’s possible
> that there are some settings I need to change, and would appreciate some
> insight into what those are.  As an example of the issue, I’ve attached a
> couple images here, made with identical code, with v6.1.2 (first image) and
> v6.3.0 (second image).  As you can see, in the v6.1.2 version the edges of
> the contours are crisp and the map looks ‘pretty’ whereas in the v6.3.0
> version nothing is nearly as sharp.
>
> I can pass along the specific code if need be (basic parameters are that
> I’m using gsn_csm_contour_map to make the contour plot; writing to a “png”
> workstation) but I’m guessing there are just a couple settings that I’m
> missing that are now ‘best practice’ for the PNG driver.   I thought it was
> probably just an issue with my computer, but I reproduced the same behavior
> on yellowstone (which nicely has many different NCL versions installed!)
> and the switch happens at v6.2.0.  I tried changing the “wkAntiAlias”
> settings but that didn’t help.  Any help you could offer would be much
> appreciated!
>
> Thanks,
> Russ
>
>
>
>
>
>
>
> --
> Russ S. Schumacher
> Associate Professor
> Department of Atmospheric Science
> Colorado State University
> e-mail: russ.schumacher at colostate.edu
> phone: 970.491.8084
> web: http://www.atmos.colostate.edu/faculty/schumacher.php
>
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160909/cffc6732/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stage4_24h_20150526_12z_v6.3.0.png
Type: image/png
Size: 255944 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160909/cffc6732/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stage4_24h_20150526_12z_v6.1.2.png
Type: image/png
Size: 729072 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160909/cffc6732/attachment-0003.png 


More information about the ncl-talk mailing list