[ncl-talk] Strange Vector Behavior

Barry Lynn barry.h.lynn at gmail.com
Thu May 28 06:30:09 MDT 2020


Hello:

I left out the text.

Before copying it, I have to mention that the cross-section is an excerpt
from the entire domain. But, radar, etc, and temperature (not shown)
contour correctly.  That is, temperature maps correctly.

The excerpted winds seem to be mapping to just 1/4 of the domain.

Hello:

I am making vertical cross-sections.

I wanted to map vectors onto the map, but when I thin the data to plot
fewer vectors I  end up with the vectors going 1/4 of the way across,
rather than just getting a thinner plotting of the vector data.

The full vector plotting is without the "::4."  WIth the ::4, I get just
1/4 of the cross-section covered.

These lines cause the problem.

        plot_a   = gsn_vector(wks,u_plane_a
(0:zmax_pos,::4),v_plane_a(0:zmax_pos,::4),vecres)

        plot_b   =
gsn_vector(wks,u_plane_b(0:zmax_pos,::4),v_plane_b(0:zmax_pos,::4),vecres)

        plot_c   =
gsn_vector(wks,u_plane_c(0:zmax_pos,::4),v_plane_c(0:zmax_pos,::4),vecres)


I have attached the code.  I am not sure why this doesn't work, since it
generally works as advertised.  One comment: I am subsetting the u,v data
before plotting it.


Code attached.  Sorry it's so long!

On Thu, May 28, 2020 at 2:00 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:

>
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
>

-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200528/b3e47185/attachment.html>


More information about the ncl-talk mailing list