[ncl-talk] Bug report: Example vector_1.ncl

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Mon May 18 20:26:45 MDT 2015


NCL team,

This is a minor bug.  Example vector_1.ncl in NCL version 6.3.0 throws this
warning message:

warning:vcRefAnnoFontHeightF is not a valid resource in vector_contour at
this time

A valid plot is generated, but the annotation is much smaller than with
previous NCL versions.  The warning message comes from within the
function gsn_csm_vector_scalar_map_ce.

This behavior apparently started between NCL versions 6.2.1 and 6.3.0.  My
platform is Mac OS 10.10.3.  The warning disappears if you insert this line
into the example code:

res at vcRefAnnoFontHeightF = 0.013

The value 0.013 creates an annotation that is about the same size as in the
6.2.1 version.  If res at vcRefAnnoFontHeightF is not explicitly set with
6.3.0, then the annotation is much smaller than in the 6.2.1 version.  The
current image (dated 2009) on the NCL vector examples page includes the
annotation size matching a previous version.

Thank you for taking a look at this some time.  It's not urgent.

--Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150518/e90351ae/attachment.html 


More information about the ncl-talk mailing list