Dear Hiren,<div> I just went through your data file and was able to plot the ascii text file using my programs with the use of grads. I herewith attach the required programs so that you can modify them and use accordingly for your purpose. </div>
<div>If any further queries kindly let me know.</div><div><br></div><div>First you have to run the temp.f and then the ascii_grd.f. It will create a gridded binary file test.grd corresponding to your lat and lon points. Then this can be opened using sample.ctl in grads.</div>
<div><br></div><div>Also i herewith attach the figure obtained through the procedure.</div><div><br></div><div> Best of luck.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Sun, Aug 19, 2012 at 10:54 AM, hiren dave <span dir="ltr"><<a href="mailto:hiren_dave85@yahoo.com" target="_blank">hiren_dave85@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span></span></div><div>Hi Jayakrishna</div>
<div><span> <span> <span> <span> Thanks for your support. I need more help. I am not much more familier with GrADS. Can you please send me the programe to convert this data into gridded binary and corresponding CTL file.</span></span></span></span></div>
<div><span><span><span><span></span></span></span></span> </div><div><span><span><span><span></span></span></span></span> </div><div>Thanking you, </div><div><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px" readonly>
</div>Hiren Dave</div><div><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px" readonly></div><br><br><br></div> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px" readonly>
</div> <b><span style="font-weight:bold">From:</span></b> Jayakrishnan P.R <<a href="mailto:prjayakrishnan@gmail.com" target="_blank">prjayakrishnan@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> hiren dave <<a href="mailto:hiren_dave85@yahoo.com" target="_blank">hiren_dave85@yahoo.com</a>>; GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>> <br>
<b><span style="font-weight:bold">Sent:</span></b> Saturday, 18 August 2012 4:25 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [gradsusr] How to plot ASCII data into Grads:Data file Attached<br> </font> </div>
<div><div class="h5"> <br><div>Hello Hiren,<div> It seems that your data is an ascii data of OLR with 1 X 1 grid resolution. You can plot this data by converting this into a gridded binary and then write a corresponding ctl file to that. Otherwise this ascii file cannot be opened through grads I think. The other way is to convert this into station data and plot. But I prefer the first method. Ie to convert into griided binary and then plot. Best of luck.<br>
-- <br>Sincerely<br>***********************************************<br>Jayakrishnan.P.R<br>CSIR-Senior Research Fellow<br>Department of Atmospheric Sciences<br>Cochin University of Science and Technology (CUSAT), Cochin-682 016<br>
Kerala, India.<br>Mob: <a href="tel:09895417565" value="+919895417565" target="_blank">09895417565</a><br><br>***********************************************<br>
</div>
</div><br><br> </div></div></div> </div> </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Sincerely<br>***********************************************<br>Jayakrishnan.P.R<br>CSIR-Senior Research Fellow<br>
Department of Atmospheric Sciences<br>Cochin University of Science and Technology (CUSAT), Cochin-682 016<br>Kerala, India.<br>Mob: 09895417565<br><br>***********************************************<br>
</div>