Re: All vectors are plotted at the same point

From: Christian Pause <cpause_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 05 2010 - 02:35:46 MST

Hi Adam and Dave,

thank you very much, now it works.

Greetings
Christian

> Hi Christian,
> Just as a small correction to Adam's message, the resources
> corresponding to sfXArray and sfYArray for vector plots are vfXArray
> and vfYArray.
> -dave
>
> On Mar 4, 2010, at 12:07 PM, Adam Phillips wrote:
>
>> Hi Christian,
>> I don't think you have any metadata/coordinate variables associated
>> with
>> your u and w arrays. In the contour plot, sfXArray and sfYArray were
>> used to tell NCL what the vertical and horizontal coordinates were. I
>> would set those two resources the same way for your vector plot.
>>
>> Alternatively, you can name the dimensions of u and w, and attach
>> coordinate variables to them.
>> u!1 = "level"
>> u&level = z
>> u!2 = "lat"
>> u&lat = y
>> u&lat@units = "degrees_north" ; needed for plotting
>> u!3 = "lon"
>> u&lon = x
>> u&lon@units = "degrees_east" ; needed for plotting
>>
>> (repeat for the W array)
>>
>> If this doesn't help let the group know..
>> Adam

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 5 02:35:51 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 08 2010 - 12:07:42 MST