<div dir="ltr"><p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif">Hi Jaya,</span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif">Use ncdump tool to convert netCDF file to text
form: first look at the structure of the data in the netCDF file <i>e.g.</i> <a href="http://foo.nc/" target="_blank"><span style="color:windowtext">SLP.nc</span></a>:</span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif;color:rgb(0,112,192)">ncdump -c <a href="http://foo.nc/" target="_blank">SLP.nc</a></span><span style="font-family:Arial,sans-serif"></span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif">And then produce an annotated text version of the
structure and data in the netCDF file <a href="http://foo.nc/" target="_blank"><span style="color:windowtext">SLP.nc</span></a><u>:</u></span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif;color:rgb(0,112,192)">ncdump -b c <a href="http://foo.nc/" target="_blank"><span style="color:rgb(0,112,192)">SLP.nc</span></a> > SLP.txt</span><span style="font-family:Arial,sans-serif"></span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif">This will produce a txt file, which is
editable. For more information, see the following link:</span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif"><a href="http://www.unidata.ucar.edu/software/netcdf/docs/ncdump-man-1.html" target="_blank">http://www.unidata.ucar.edu/software/netcdf/docs/ncdump-man-1.html</a></span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif"> </span></p>
<p class="" style="margin-bottom:0.0001pt"><span style="font-family:Arial,sans-serif">Mohsen</span></p></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span><span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:"Arial","sans-serif";color:#888888" lang="AR-SA"><span></span></span></span>--<div>
some are weather-wise some are otherwise!</div><div>--<br>Best Wishes, <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br><div class="gmail_quote">On Wed, May 22, 2013 at 6:42 PM, Chinh ta huu <span dir="ltr"><<a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@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>This is script to extract netcdf to txt data. I can consult.</div><br><div class="gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd">
<a href="https://docs.google.com/file/d/0ByjXUpu9J1yoeXNITy1JbXViem8/edit?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">convert_txt_all.gs</span></a></div>
<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 3:51 AM, Luis Blacutt <span dir="ltr"><<a href="mailto:luis.blacutt@gmail.com" target="_blank">luis.blacutt@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">Hi Jaya,<div><br></div><div>It might be useful for you also to tell us what are you up to, unless you want to make something very specific with your resulting txt data I think you can squeeze grads more than just generating data. However you can check these pages</div>
<div><br></div>
<div><a href="http://www.iges.org/grads/gadoc/gradcomdsetgxout.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomdsetgxout.html</a><br></div><div><a href="http://www.iges.org/grads/gadoc/gradcomdsetfwrite.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomdsetfwrite.html</a><br>
</div><div>Also there is an add-on for excel, you can open, edit and other activities of netcdf file. You have to download it and install it</div><div><a href="http://code.google.com/p/netcdf4excel/" target="_blank">http://code.google.com/p/netcdf4excel/</a><br>
</div><div><br></div><div>Best regards</div><span><font color="#888888"><div>Luis</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, May 22, 2013 at 3:09 PM, Jaya Pudashine <span dir="ltr"><<a href="mailto:letterjaya@gmail.com" target="_blank">letterjaya@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">Dear all,<div> I am new user to GrADS. I want to use RCM for the climate change study for my study. I had downloaded RCM data which is in nc format. Now I want to extract the data which is required for my study area. I have tried in GrADS like this</div>
<div><br></div><div>sdfopen <a href="http://myfilename.nc" target="_blank">myfilename.nc</a></div><div>set lat mylat</div><div>set lon mylong</div><div>set time time range</div><div><br></div><div>
display tasmax</div><div><br></div><div>Now my problem is that i want to extract those data in text file ? How can i do it. I am new user so can you provide me detail process how i can do it ? I am using GrADS in Ubuntu 12.04</div>
<div><br></div><div>Thanking in advance</div><span><font color="#888888"><div>Jaya</div></font></span></div>
<br></div></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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></div></blockquote></div><br></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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>(Mr.) Ta Huu Chinh</div><div>National, Weather Forecasting Center, Ha Noi, Viet Nam. </div><div>
No: 4th, Dang Thai Than, Hoan Kiem, Ha Noi</div><div>Tel: 84-903-298-856</div>
<div>Office: 84-43-824-4917</div><div>Email: <a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@gmail.com</a></div><div>Website: <a href="http://vn.myblog.yahoo.com/chinhth2005/" target="_blank">http://vn.myblog.yahoo.com/chinhth2005/</a></div>
<div>Website: <a href="http://bestknowledge-chinhth.blogspot.com/" target="_blank">http://bestknowledge-chinhth.blogspot.com/</a></div><div>Website: <a href="http://anhcuoidep.vn" target="_blank">http://anhcuoidep.vn</a></div>
</font></span></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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>