<div dir="ltr"><div>The only possible thing I could think of is to use the ncgen command, part of the nco software package. You'd have to use special syntax to get it correct. Probably the best way to go is to use Fortran to write the text data to a binary file, which doesn't require any special libraries. There are help pages in the GrADS user's guide that provide instructions on this.<br><br></div>Good luck.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 14, 2016 at 3:40 PM, Bimal Gyawali <span dir="ltr"><<a href="mailto:bml.gya@gmail.com" target="_blank">bml.gya@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">Hello Jeff,<div>Thank you for your response. I have also searched ways to convert text files to netCDF but could not able to figured out. Do you know the way of converting text file to any of those format? Please help me if you know.</div><div>Thank you.</div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><p><b><i><span style="font-size:10pt;font-family:'Times New Roman',serif;color:rgb(46,117,182);background-image:initial;background-position:initial;background-repeat:initial">Bimal Gyawali</span></i></b><i><span style="font-size:10pt;font-family:'Times New Roman',serif;color:rgb(46,117,182);background-image:initial;background-position:initial;background-repeat:initial"><br>
Graduate Research Assistant<br>
Department of Physical and Environment Science<br>
Natural Resources Centre<br>
Texas A&M University-Corpus Christi<br>
Corpus Christi, TX 78412<br>
Tel: 435-881-3603</span></i><i><span style="font-family:"Times New Roman",serif"></span></i></p></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Tue, Jun 14, 2016 at 3:25 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@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>I don't think GrADS is capable of reading in text and converting it to a map that you can then display. You'd have to convert the text data to some file format that grads <b>can</b> read, such as binary, GRIB(2), netCDF, or HDF first, then read that file in.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Jun 14, 2016 at 3:22 PM, Bimal Gyawali <span dir="ltr"><<a href="mailto:bml.gya@gmail.com" target="_blank">bml.gya@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><div dir="ltr">Hello,<div>I have data in the following format. Can anyone please tell me how can I write it out using grads so that I can plot it in time series as well as in spatial domain?</div><div> Time</div><div><table style="border-collapse:collapse;width:528pt" border="0" cellpadding="0" cellspacing="0" width="704">
<colgroup><col style="width:48pt" span="11" width="64">
</colgroup><tbody><tr style="height:15pt" height="20">
<td style="height:15pt;width:48pt" height="20" width="64">Longitude </td>
<td style="width:48pt" width="64">Latitude</td>
<td style="width:48pt" align="right" width="64">09101</td>
<td style="width:48pt" align="right" width="64">9102</td>
<td style="width:48pt" align="right" width="64">9103</td>
<td style="width:48pt" align="right" width="64">9104</td>
<td style="width:48pt" align="right" width="64">9105</td>
<td style="width:48pt" align="right" width="64">9106</td>
<td style="width:48pt" align="right" width="64">9107</td>
<td style="width:48pt" align="right" width="64">9108</td>
<td style="width:48pt" align="right" width="64">9109</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-101.096</td>
<td align="right">30.06616</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">139</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-101.056</td>
<td align="right">30.0638</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">112</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-101.017</td>
<td align="right">30.06141</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">87</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.977</td>
<td align="right">30.05901</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">76</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.937</td>
<td align="right">30.05659</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">48</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.897</td>
<td align="right">30.05413</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">46</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.858</td>
<td align="right">30.05166</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">39</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.818</td>
<td align="right">30.04916</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">31</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.778</td>
<td align="right">30.04663</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">23</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.739</td>
<td align="right">30.04409</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.699</td>
<td align="right">30.04152</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.659</td>
<td align="right">30.03892</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.62</td>
<td align="right">30.03631</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.58</td>
<td align="right">30.03366</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">16</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.54</td>
<td align="right">30.03099</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">20</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.501</td>
<td align="right">30.0283</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">42</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.461</td>
<td align="right">30.02559</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">39</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.421</td>
<td align="right">30.02285</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">34</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.382</td>
<td align="right">30.02009</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">52</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.342</td>
<td align="right">30.01731</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">64</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.302</td>
<td align="right">30.0145</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">68</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.263</td>
<td align="right">30.01167</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">94</td>
<td align="right">15</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr>
<tr style="height:15pt" height="20">
<td style="height:15pt" align="right" height="20">-100.223</td>
<td align="right">30.00881</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">115</td>
<td align="right">15</td>
<td align="right">0</td>
<td align="right">0</td>
<td align="right">0</td>
</tr></tbody></table><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><p><b><span style="font-size:10pt;font-family:"Times New Roman",serif;background-image:initial;background-repeat:initial;background-color:rgb(255,255,255)"><font color="#000000">Thank you.</font></span></b></p><span><font color="#888888"><p><b><i><span style="font-size:10pt;font-family:"Times New Roman",serif;color:rgb(46,117,182);background-image:initial;background-repeat:initial">Bimal Gyawali</span></i></b><i><span style="font-size:10pt;font-family:"Times New Roman",serif;color:rgb(46,117,182);background-image:initial;background-repeat:initial"><br>
Graduate Research Assistant<br>
Department of Physical and Environment Science<br>
Natural Resources Centre<br>
Texas A&M University-Corpus Christi<br>
Corpus Christi, TX 78412<br>
Tel: <a href="tel:435-881-3603" value="+14358813603" target="_blank">435-881-3603</a></span></i><i><span style="font-family:"Times New Roman",serif"></span></i></p></font></span></div></div></div></div></div></div>
</div></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research associate<br>University of Oklahoma School of Meteorology<br></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research associate<br>University of Oklahoma School of Meteorology<br></div></div></div>
</div>