Hi,
while making intensive usage of gsn_csm_xy with color filled areas
between adjacent curves (gsnXYFillColors) I got a plethora of warnings
as the following:
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: Error occurred at or near line 2642 in file
[...]
warning:Execute: Error occurred at or near line 2671 in file
[...]
warning:Execute: Error occurred at or near line 2650 in file
[...]
warning:Execute: Error occurred at or near line 2642 in file
[...]
warning:Execute: Error occurred at or near line 2663 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
I tracked the lines to function fill_bw_xy
lines 2642--2643
first(0) = x(bpt)
first(1) = y2(bpt)
lines 2650--2651
first(0) = x(bpt-1)
first(1) = y1(bpt-1)
lines 2663--2664
last(0) = x(ept)
last(1) = y2(ept)
lines 2671--2672
last(0) = x(ept+1)
last(1) = y1(ept+1)
A quick inspection of the rest of the function showed no reason for
these variables should carry any meta-data, so I suggest these lines to
be replaced by:
lines 2642--2643
first = (/x(bpt),y2(bpt)/)
lines 2650--2651
first = (/x(bpt-1),y1(bpt-1)/)
lines 2663--2664
last = (/x(ept),y2(ept)/)
lines 2671--2672
last = (/x(ept+1),y1(ept+1)/)
Would it be possible to include this small change in future model versions?
Thanks in advance,
Álvaro.
-- Álvaro M. Valdebenito B., Dr. rer. nat. alvaro.valdebenito@met.no Air Pollution Section/Research Department Tel. +47-2296 3397 Norwegian Meteorological Institute http:\\www.met.no P.O. Box 43 Blindern, 0313 Oslo, NORWAY http:\\www.emep.int/CWF _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Thu May 6 06:01:42 2010
This archive was generated by hypermail 2.1.8 : Fri May 07 2010 - 10:36:00 MDT