png output filename issue

From: wxtofly <wxtofly_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 19 2010 - 13:06:43 MDT
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
Received on Mon Jul 19 13:06:51 2010

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