<div dir="ltr">What <span style="font-size:14px">she said. Also, i</span>f you are typing this many commands by hand, it is best to put short programs such as lines 371-379 into their own text files. Then run them individually from your shell command line, such as "ncl plot1.ncl", etc. This way you do not have old variable definitions lying in wait to ambush you.<div><br></div><div>--Dave</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 28, 2015 at 10:13 PM, Alessandra Giannini <span dir="ltr"><<a href="mailto:alesall@iri.columbia.edu" target="_blank">alesall@iri.columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hi there,<br>
<br>
it looks to me like you are reading the coordinates x, y into U, V.<br>
Is this what you want to do?<br>
<br>
gsn_csm_vector <<a href="http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_vector.shtml" rel="noreferrer" target="_blank">http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_vector.shtml</a>><br>
wants 2-dimensional fields [e.g., functions of latitude and longitude] as input.<br>
<br>
So, if you read U and V instead:<br>
<br>
U = a->U<br>
V = a->V<br>
<br>
it should work…<br><br>
--<br>
Alessandra Giannini<br>
IRI for Climate and Society - The Earth Institute at Columbia University<br>
P.O. Box 1000, Palisades NY 10964-8000<br>
phone/fax: +1 845 680-4473/4864 - email: <a href="mailto:alesall@iri.columbia.edu" target="_blank">alesall@iri.columbia.edu</a><br>
<br>
On Dec 29, 2015, at 12:06 AM, Ben Rhee <<a href="mailto:ben.s.rhee@gmail.com" target="_blank">ben.s.rhee@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I was wondering what is preventing me from plotting this data file? Here is a screenshot of what the file looks like when opened,<br>
><br>
> <image.png><br>
><br>
> and here is what I typed to plot the data:<br>
> <image.png><br>
><br>
> What am I doing wrong here?<br>
><br>
> Thank you<br></blockquote></div></div></div></div>