<div dir="ltr"><b>I have the file which has dimensions 64800x3 as you can below. The data file has 3 variables (Latitude Longitude TotCH4_A). So 64800 is the nLatitude and nLongitude. The data range is from Latitude (90,-90) and Longitude (-180, 180). So now how can i use ascii file in ncl map plotting. and also if possible please let me know how can i convert ascii file to netcdf file in NCL. provides me link ??<br></b><div><b><br>ncl 5> printVarSummary(data) <br><br>Variable: data<br>Type: float<br>Total Size: 777600 bytes<br> 194400 values<br>Number of Dimensions: 2<br>Dimensions and sizes: [64800] x [3]<br>Coordinates: <br>Number Of Attributes: 1<br> _FillValue : 9.96921e+36<br><br></b></div><div><b>Thank You<br></b></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio & Atmospheric Science Division <br></div><div>CSIR - National Physical Laboratory<br></div><div>New Delhi - 110012<br><br></div><div><br></div><div><br></div><div><br></div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div>
<br><div class="gmail_quote">On Mon, Sep 22, 2014 at 9:08 PM, Maria Gehne - NOAA Affiliate <span dir="ltr"><<a href="mailto:maria.gehne@noaa.gov" target="_blank">maria.gehne@noaa.gov</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">Hi Kunal,<div><br></div><div>your data array has dimensions 64800x3. Which one of these is latitude and longitude? Most likely 64800 is nlat*nlon, but you need to figure that out first. Also you need to know what the actual values for the latitudes and longitudes are. All of this information could be in the ascii file or you need additional information for you ascii file. In order to use the NCL map plotting functions you data array needs to have the coordinate variables attached to it.</div><div><br></div><div>Responses to NCL-talk only please.</div><div>Maria</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Sep 21, 2014 at 12:15 AM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Dear NCL users<br><br></div>I want to plot the Lat, Lon map using using ASCII file in NCL. But i am not getting how to do it. I am able to read the ascii file and the summary is like that <br><br><b>ncl 5> printVarSummary(data) <br><br>Variable: data<br>Type: float<br>Total Size: 777600 bytes<br> 194400 values<br>Number of Dimensions: 2<br>Dimensions and sizes: [64800] x [3]<br>Coordinates: <br>Number Of Attributes: 1<br> _FillValue : 9.96921e+36</b><br></div><div> <br>AND <br></div><div>Variable name = TotCH4_A<br></div><div><br></div>So if I want to plot the map from txt file how could do it. Could you provide me an example ??<br><div><br></div><div>Thank You<span><font color="#888888"><br clear="all"></font></span></div><span><font color="#888888"><div><div><div><div><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio & Atmospheric Science Division <br></div><div>CSIR - National Physical Laboratory<br></div><div>New Delhi - 110012<br><br></div><div><br></div><div><br></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div>
</div></div></div></font></span></div>
<br></div></div>_______________________________________________<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>
</blockquote></div><br></div>