[ncl-talk] help replicating warning in v 6.4.0

Will Hobbs will.hobbs at utas.edu.au
Tue Mar 21 23:49:04 MDT 2017


Hi Mary (and anyone else really)

I get the following warning message repeated many times over for a script I’m running, that plots an xy plot (gsn_csm_xy()) with aa 2-d y array:

warning:VarVarWrite: rhs has no dimension name or coordinate variable, deleting name of lhs dimension number (0) and destroying coordinate var,  use "(/../)" if this is not desired outcome
warning:["Execute.c":8640]:Execute: Error occurred at or near line 206 in file /usr/local/ncl-6.4.0/lib/ncarg/nclscripts/csm/gsn_csm.ncl

I do NOT get the same message when I run the same script/data with v 6.3.0. For both versions, the plot comes out exactly as I expect, but the warning message is a bit irritating.

The error is related to a function in gsn_csm.ncl called ref_line_interp(), which the header for the function states was updated for v 6.4.0. I am trying to replicate the error with a simple test case (not the script with multiple input files that I found it in!) but can’t replicate it.

I ‘think’ this has something to do with multiple xy lines where there is a ref line, but some guidance on this would be valued.

Hopefully this can be resolved by adding (/../) to the appropriate line, but I don’t want to start messing with gsn_csm.ncl!

Will


University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170322/925e426a/attachment.html 


More information about the ncl-talk mailing list