<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div>&nbsp;&nbsp;Hi, Liu.</div><div><br></div><div>&nbsp;&nbsp;Independent of your data, if you are able to plot it on GrADS, you are also automatically able to convert its contents into netcdf. An example of the script syntax is as follows (type it inside grads prompt):</div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; border-collapse: collapse; "><div>"lats4d -v -q -i /home/thiago/Desktop/data/<wbr>gpcp_v2.1_psg_swap.ctl -ftype ctl -o /home/thiago/Desktop/gpcp_v2.<wbr>1_psg.01 -time 01jan1979 01dec2008 12"</div><div><br></div><div>where -v e -q are optional parameteres (verbose mode and quit after execution, which according to the official wiki may be necessary for proper working), -i indicates input file (in this specific case it is the descriptor of my
 data set), followed by its identification ("-ftype ctl"), -o represents output file and finally -time means the starting and ending dates, using as increment the value "12" (in my case I was separating every january of a 30-year series).</div><div><br></div><div>&nbsp;&nbsp;I know it may look complicated at the beginning, but in case of further doubts I really recommend you to take a peek at the documentation:&nbsp;http://opengrads.org/wiki/index.php?title=Lats4D for lats4d and&nbsp;http://www.iges.org/grads/gadoc/ for GraDS.</div><div><br></div><div>&nbsp;&nbsp;This command helped me in the data conversion (precipitation data -- from binary to netcdf). I really hope it helps you as well. Best regards,</div><div><br></div><div>&nbsp;&nbsp;Thiago.</div></span><br>--- On <b>Thu, 18/3/10, liuzf406 <i>&lt;liuzf406@126.COM&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From:
 liuzf406 &lt;liuzf406@126.COM&gt;<br>Subject: Re: how to convert output to netcdf file<br>To: GRADSUSR@LIST.CINECA.IT<br>Date: Thursday, 18 March, 2010, 16:58<br><br><div id="yiv856236782"><div>Dear Thiago,</div>
<div>&nbsp;</div>
<div>It sounds great! I am wondering why grads can not work.</div>
<div>&nbsp;Attached is the moisture flux plot calculated from Grads.</div>
<div>Yes, I do need some practical example on how to use the script.</div>
<div>&nbsp;</div>
<div>Thanks.</div>
<div>Best,</div>
<div>Liu<br></div>
<div></div><br>在2010-03-19 03:39:27,"Thiago&nbsp;Veloso"&nbsp;&lt;thi_veloso@YAHOO.COM.BR&gt; 写道:<br>
<blockquote id="isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top">&nbsp;&nbsp;Dear Liu,
<div><br></div>
<div>&nbsp;&nbsp;Please note that when using lats4d in the 1.x versions of GrADS you have to use "grandsnc" executable, instead of classic "gradsc".</div>
<div><br></div>
<div>&nbsp;&nbsp;The script is avalilabe here:&nbsp;<a rel="nofollow" target="_blank" href="http://opengrads.org/wiki/index.php?title=Lats4D">http://opengrads.org/wiki/index.php?title=Lats4D</a></div>
<div><br></div>
<div>&nbsp;&nbsp;I hope it helps you. Please let me know if you need a practical example on how to use the script.</div>
<div><br></div>
<div>&nbsp;&nbsp;Best wishes,</div>
<div><br></div>
<div>&nbsp;&nbsp;Thiago.<br><br>--- On <b>Thu, 18/3/10, liuzf406 <i>&lt;<a rel="nofollow" ymailto="mailto:liuzf406@126.COM" target="_blank" href="/mc/compose?to=liuzf406@126.COM">liuzf406@126.COM</a>&gt;</i></b> wrote:<br>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(16,16,255) 2px solid;"><br>From: liuzf406 &lt;<a rel="nofollow" ymailto="mailto:liuzf406@126.COM" target="_blank" href="/mc/compose?to=liuzf406@126.COM">liuzf406@126.COM</a>&gt;<br>Subject: Re: how to convert output to netcdf file<br>To: <a rel="nofollow" ymailto="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank" href="/mc/compose?to=GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a><br>Date: Thursday, 18 March, 2010, 12:54<br><br>
<div id="yiv352155616">
<div>Hi,</div>
<div>Thanks for your kind help, but I can not open <a rel="nofollow" target="_blank" href="http://lats4d.gs/">lats4d.gs</a>&nbsp;file. Can you please attach it and sent to me?</div>
<div>Best,</div>
<div>Liu</div>
<div></div><br>在2010-03-18 23:47:26,"Guilherme&nbsp;Martins"&nbsp;&lt;<a rel="nofollow" ymailto="mailto:jgmsantos@GMAIL.COM" target="_blank" href="/mc/compose?to=jgmsantos@GMAIL.COM">jgmsantos@GMAIL.COM</a>&gt; 写道:<br>
<blockquote id="isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">Use <a rel="nofollow" target="_blank" href="http://lats4d.gs/">lats4d.gs</a>, it's available in the web.<br><br>Guilherme.<br><br>
<div class="gmail_quote">2010/3/18 liuzf406 <span dir="ltr">&lt;<a rel="nofollow" target="_blank" href="http://g3a16.mail.126.com/mc/compose?to=liuzf406@126.com">liuzf406@126.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0pt 0pt 0pt 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid;">
<div>
<div>Dear Grads users,</div>
<div>&nbsp;</div>
<div>&nbsp;Can Grads version 1.9 convert&nbsp;output plot to netcdf file? how to get the netcdf file?</div>
<div>&nbsp;</div>
<div>Thanks so much!</div>
<div>Liu</div></div><br><br><span title="neteasefooter"></span></blockquote></div><br><br clear="all"><br>-- <br>-----------------------------------------------------------<br>José Guilherme Martins dos Santos<br>Grupo de Modelagem da Atmosfera e Interfaces - GMAI<br>Divisão de Modelagem e Desenvolvimento - DMD<br>Centro de Previsão de Tempo e Estudos Climáticos - INPE<br>Rodovia Presidente Dutra, km 39 - CEP 12630-000<br>Cachoeira Paulista, SP, Brasil<br>Telefone(CP): +55 12 3186 8502<br>Celular(SJC): +55 12 91678770 / +55 12 81528580<br>E-mail: <a rel="nofollow" target="_blank" href="http://g3a16.mail.126.com/mc/compose?to=guilherme.martins@cptec.inpe.br">guilherme.martins@cptec.inpe.br</a><br>E-mail alternativo: <a rel="nofollow" target="_blank" href="http://g3a16.mail.126.com/mc/compose?to=jgmsantos@gmail.com">jgmsantos@gmail.com</a><br>Homepage: <a rel="nofollow" target="_blank"
 href="http://guilhermemartins.hd1.com.br/">http://guilhermemartins.hd1.com.br/</a><br>-----------------------------------------------------------<br></blockquote><br><br><span title="neteasefooter"></span></div></blockquote></div></td></tr></tbody></table><br></blockquote><br><br><span title="neteasefooter"></span></div></blockquote></td></tr></table><br>