<div dir="ltr"><div class="gmail_default" style="font-size:small">Ipsita,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You are creating an 18 x 18 2D array to hold your data, but you only have a 1D array of 18 values. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, I don't know what you mean by "2-dimensional coordinate variable". </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">What you have is a collection of 18 random points, each with a lat/lon point associated with it. This cannot be represented by a 2D array with lat/lon coordinate arrays.</div><div class="gmail_default" style="font-size:small"><br class="">Also, the latitude values all have a value of "108", and the longitude values are all greater than 500. Are you sure these values are actually lat/lon?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 3:54 AM, Ipsita Putatunda <span dir="ltr"><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear NCL users,<br></div> I have an ASCII file (tt.txt) with data in 3 columns for latitude longitude and variable respectively. Am reading this data using asciiread and trying to create a 2 dimensional coordinate variable with the same lat lon and variable values.But the output is giving all undefined values. Any help in this issues will be appreciated. My script is attached herewith. <br><br></div>Thanks,<br></div>Ipsita<br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>