Re: error at mjoclivar_15.ncl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 18 2013 - 11:41:20 MDT

Marilla,

The error is coming from when mjoclivar_15.ncl script is trying to attach polylines to your plot.

Are you getting any other errors?

You need to do some debugging, because we don't have enough information to give you a fix.
The problem may be with the mjoclivar_14.ncl code (which writes the file you need to run this
script), or with mjoclivar_15.ncl itself.

I think it is getting some missing values for whatever is being passed to gsn_add_polyline.

On line 108 of the mjoclivar_15.ncl code I have:

      plot@$unique_string("dum")$ = gsn_add_polyline(wks, plot, (/xBegin,pc1(nt)/), (/yBegin,pc2(nt)/), plLine)

Do you have this as well?

If so, then you need to look at "xBegin", "pc1(nt)", "yBegin", and "pc2(nt)".

These are all coming out of the "pc1" and "pc2" arrays, which are coming from the "MJO_PC_INDEX.nc" file which was written by mjoclivar_14.ncl.

To debug this, after these two lines:

  pc1 = f->PC1(iStrt:iLast)
  pc2 = f->PC2(iStrt:iLast)

add:

  printMinMax(pc1,0)
  printMinMax(pc2,0)
  print("pc1(0) = " + pc1(0))
  print("pc2(0) = " + pc2(0))

Inside the "do nt=1,ntim-1" do loop, does it fail on the first iteration, or later?
You may want to print "pc2(nt)" and "pc1(nt)" to see if those values are missing.

--Mary

On Mar 18, 2013, at 11:26 AM, marilia.gregorio@cptec.inpe.br wrote:

> Hy...
>
> I'm trying to run the mjoclivar_15.ncl script. I have already ran the
> mjoclivar_14.ncl
> and its work very well.
>
> At mjoclivar_15.ncl I got the message:
>
> fatal:The result of the conditional expression yields a missing value.
> NCL can not
> determine branch, see ismissing function
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 4195 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 4502 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 108 in file
> mjoclivar_15.ncl
>
>
> I really don't know what these means.
> I'm using Linux with NCL 6.1.2
>
> Thanks very much
>
> 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 Mon Mar 18 11:41:28 2013

This archive was generated by hypermail 2.1.8 : Tue Mar 19 2013 - 16:31:18 MDT