[ncl-talk] Bug report: Example vector_1.ncl
Mary Haley
haley at ucar.edu
Sun May 24 10:25:23 MDT 2015
Hi Dave,
This bug should be fixed in the 6.3.1 release of NCL, no scheduled date yet.
If you need the fix now, then I've attached new versions of gsn_code.ncl
and gsn_csm.ncl, that will only work with NCL V6.3.0. You can put them in
your own personal directory and load them explicitly with the "load"
command.
The issue is that some internal code was changed so that the vectors would
be overlaid on the contours, and not vice versa, but then the other code
wasn't changed to reflect that the base plot is now a vector plot and not a
contour plot.
--Mary
On Mon, May 18, 2015 at 8:26 PM, Dave Allured - NOAA Affiliate <
dave.allured at noaa.gov> wrote:
> 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
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150524/53b2eeb3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsn_code.ncl
Type: application/octet-stream
Size: 490090 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150524/53b2eeb3/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsn_csm.ncl
Type: application/octet-stream
Size: 525656 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150524/53b2eeb3/attachment-0003.obj
More information about the ncl-talk
mailing list