Re: really big wind barbs

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue May 28 2013 - 17:41:00 MDT

Hi Glen,
I have found the problem and I will be checking in a fix shortly. As for a work-around, I should first say that it appears that the problem arises only in the case where vcRefMagnitudeF is set to a value less than the minimum vector magnitude in the plot. That probably explains why you don't see the problem all the time. As you know, when in wind bard mode, all the glyphs are drawn at more or less a uniform size that should be dependent only on the value of vcRefLengthF. The length of the other vector styles are affected by both the RefMagnitude and the RefLength among other things. The calculation required for the case when the RefMagnitude is less than the minimum vector magnitude was not adjusted to account for wind barbs. Having the wind barb scale factor set to a value greater than 1 simply magnifies this effect.

So the work-around fix is simply to ensure that the value you use for vcRefMagnitudeF is greater than the minimum vector magnitude. You can turn on the minimum vector annotation temporarily to see the minimum magnitude on your plot. In this case it is 7.35 or so. Sorry for the inconvenience.

On May 24, 2013, at 9:32 AM, David Brown <> wrote:

> Hi Glen,
> This sounds rather strange. The scale factor resource should not affect the size of the wind barbs, I don't think. So there may be a bug. Can you send us a sample code and some data that
> reproduces this problem? See the procedure for sending files on the page. Let me know offline the names of the files. Thank you.
> -dave
> On May 23, 2013, at 1:38 PM, Glen Romine <> wrote:
>> I'm overlaying wind barbs on contours, and occasionally, so far only when there are pennants (although most plots with pennants don't do this), I see the size of the drawn wind barbs get very large. It is repeatable for the same input field of winds for versions 6.1.0, 6.1.2, and 6.2.0 at least. I only started seeing this behavior after setting vcWindBarbScaleFactorF away from the default value, and again, most of the time it plots wind barbs as expected. I've attached an example of the big wind barbs. Maybe there is another resource I need to set to control this behavior? Thanks! Glen
>> <p_ens_sprd_300_pvor_24.png>_______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Tue May 28 17:41:08 2013

This archive was generated by hypermail 2.1.8 : Thu May 30 2013 - 11:38:10 MDT