Re: png output filename issue

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 19 2010 - 13:39:02 MDT

Hi TJ,

This is not a bug or a bad installation. Please see:

http://www.ncl.ucar.edu/Support/talk_archives/2010/1411.html

--Mary

On Jul 19, 2010, at 1:06 PM, wxtofly wrote:

> I am trying to get the new NCL v 5.2 png driver to work for, previously, I had the lines:
> outdir="./test"
> type = "ncgm"
> windgram=outdir+day+"_"+sites(ns)+"_windgram"
> wks = gsn_open_wks(type, windgram)
> which produced a file as expected,
> ./test/2010-07-19_BlackLZ_windgram.ncgm
>
> When I change it to
> type = "png"
> wks = gsn_open_wks(type, windgram)
>
> The file output I get is:
> ./test/2010-07-19_BlackLZ_windgram.000001.png
>
> Is there some other resource or something I have to change to suppress the .000001 part of the file name?
>
> Might I have a bad installation of some new ncl file? ( I had been getting different results, but reinstalled $NCARG_ROOT/lib/ncarg/nclscripts/* and now get the above.)
>
> The png output file is very nice, better resolution and without the aliasing that the ncgm to png conversion process I had been using has, but it would be nice not to have to rename it each time.
>
> I do see that in gsn_code.ncl ncgm has a slightly different treatment than png, but I don't understand the significance of it.
>
> TJ Olney
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 19 13:39:10 2010

This archive was generated by hypermail 2.1.8 : Wed Jul 28 2010 - 10:42:06 MDT