Re: problem with mjoclivar_3.ncl

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 24 2013 - 17:04:29 MDT

Not sure of the issue. I see nothing wrong with the code.

Two options, Both involve deleting or commenting out
the following:

I would delete or comment the following

   if (pltType.eq."png") then
       if (.not.isvar("pltConvert")) then
           pltConvert = " " ; default
       end if
       system("convert "+pltConvert+" "+pltPath+".winter.eps
"+pltPath+".winter.png")
       system("convert "+pltConvert+" "+pltPath+".summer.eps
"+pltPath+".summer.png")
       system("/bin/rm -f "+pltPath+".*.eps")
   end if

Option [1]: I would then use 'convert' on the command line.

Option [2]: The mjoclivar*ncl scripts were developed prior to NCL
supporting png output. I would do the following:

   if (pltType.eq."png") then
       pltTypeLocal = "eps" ; <== change from "eps" to "png:
   else
       pltTypeLocal = pltType
   end if

Cheers

On 10/24/13 1:13 PM, marilia.gregorio@cptec.inpe.br wrote:
> Hy NCL users
>
> I'm trying to run the mjoclivar_3.ncl.
> To the summer I'm using Oct, Nov, Dec, Jan, Feb and Mar and for the
> winter the other months.
> I don't have any warning or error during the run but when I will see my
> results the figure of mjo.summer.png is blank
> Can anyone help me about it?
> Why it's happening?
>
> The program is in attachment
>
> Thanks
>
> Marilia
>
>
>
> _______________________________________________
> 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 Thu Oct 24 17:04:37 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 01 2013 - 08:58:14 MDT