Re: Thinning wind barbs with vcMinDistanceF

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sun, 02 Aug 2009 15:38:06 -0600

Yes. Use NCL's array syntax

vector = gsn_vector(wks,u(::latThin,::lonThin),v(::latThin,::lonThin),res)

  latThin/lonThin need not be the same.

Setting (say)latThin=2 would plot every other latitude;
         (say) lonThin=3 ... every 3rd longitude

Good luck

Ray Peterson wrote:
> I am creating a hourly series of wind barb images for 24 and 48 hour
> periods. My source data is in 4km model cells and I am displaying areas
> large enough to require "thinning" of the wind barb vectors using
> the vcMinDistanceF property.
>
> This method works and thins wind barbs appropiately, but the issue is
> that over the whole time period, the barb (cells) that it thins out
> sometimes change over the time period... This causes the barbs in the
> image to shift/jitter over the time period animation.
>
> Question: Is there a way to uniformly thin or prescreen the cells
> (barbs) to display so that the same ones are used consistantly over the
> time period?
>
> Thanks in advance!
>
> Ray Peterson
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Aug 02 2009 - 15:38:06 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 05 2009 - 20:36:03 MDT