<div dir="ltr"><div><div><div><div><div><div>dear<br></div>also i have one netcdf with 3 dimension variables (x,y,time).<br>i want to remove some time step from that netcdf file (for example first time).<br></div></div>would you please if there is any command guide me<br>
</div>many many thanks in advance for your reply<br></div>all the best<br></div>fereshte<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 22, 2013 at 10:54 AM, fereshteh komijani <span dir="ltr">&lt;<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</a>&gt;</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><div>thank you so much<br></div>cheers<br></div><div>fereshte<br></div><div><div><br></div></div></div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 22, 2013 at 6:39 AM, Renalda El-Samra (Student) <span dir="ltr">&lt;<a href="mailto:rse28@mail.aub.edu" target="_blank">rse28@mail.aub.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi 
<div><span style="font-size:10pt">you can use</span>
<div><br>
</div>
<div>cdo selvar,&lt;variable_name&gt;  &lt;input_file&gt; &lt;output_file&gt;</div>
<div><br>
</div>
<div>Regards,<br>
<div><br>
<div style="font-family:Tahoma;font-size:13px">
<p class="MsoNormal" style="margin:0in 0in 0pt"><b><span style="color:gray"><font size="3"><font face="Calibri">Renalda </font></font></span></b></p>
<p class="MsoNormal" style="margin:0in 0in 0pt"><font size="3" face="Calibri"> </font></p>
<p class="MsoNormal" style="margin:0in 0in 0pt"><font size="3" face="Calibri"> </font></p>
</div>
</div>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] on behalf of fereshteh komijani [<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</a>]<br>


<b>Sent:</b> Saturday, December 21, 2013 12:32 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] combine<br>
</font><br>
</div><div><div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Dear friends<br>
</div>
would you please guide me again to how i can remove one variable form one netcdf files (which contains several variables).<br>
</div>
be come appreciate to receive commands appropriate for  CDO.<br>
</div>
cheers<br>
</div>
fereshte<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Dec 15, 2013 at 11:54 PM, Andrew Friedman <span dir="ltr">
&lt;<a href="mailto:andfried@berkeley.edu" target="_blank">andfried@berkeley.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You can also use the NCO command ncrcat , as described in the GrADS documentation of sdfwrite:<br>
<br>
<a href="http://www.iges.org/grads/gadoc/gadocindex.html" target="_blank">http://www.iges.org/grads/gadoc/gadocindex.html</a><br>
<a href="http://nco.sourceforge.net/nco.html#ncrcat" target="_blank">http://nco.sourceforge.net/nco.html#ncrcat</a><br>
<span><font color="#888888"><br>
Andrew<br>
</font></span>
<div>
<div><br>
On Dec 15, 2013, at 6:20 AM, Roger Rodrigues Torres &lt;<a href="mailto:roger.torres@cptec.inpe.br" target="_blank">roger.torres@cptec.inpe.br</a>&gt; wrote:<br>
<br>
&gt; Dear Fereshte, great!<br>
&gt; Mergetime is to combine different time-slices of the same variable.<br>
&gt; Cheers,<br>
&gt; Roger Torres<br>
&gt;<br>
&gt; Roger Rodrigues Torres<br>
&gt; Professor Auxiliar I<br>
&gt; Universidade Federal de Itajubá - Unifei<br>
&gt; Instituto de Recursos Naturais - IRN<br>
&gt; Curriculum Lattes: <a href="http://lattes.cnpq.br/5641165392004404" target="_blank">
http://lattes.cnpq.br/5641165392004404</a><br>
&gt; Webpage: <a href="http://rtorres.webnode.com.br" target="_blank">http://rtorres.webnode.com.br</a><br>
&gt;<br>
&gt; 2013/12/15 fereshteh komijani &lt;<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</a>&gt;<br>
&gt;<br>
&gt; dear Roger<br>
&gt; many many thanks. i was on wrong , i was used mergetime instead of merge command.<br>
&gt; you help me so much<br>
&gt; all the best<br>
&gt; fereshte<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Dec 15, 2013 at 5:26 PM, Roger Rodrigues Torres &lt;<a href="mailto:roger.torres@cptec.inpe.br" target="_blank">roger.torres@cptec.inpe.br</a>&gt; wrote:<br>
&gt; Dear Fereshte,<br>
&gt; one simple way to do this is using CDO (Climate Data Operators). It is a free package that you can find in the linux repositories.<br>
&gt; Once CDO installed, just type in the terminal:<br>
&gt; &gt; cdo merge <a href="http://salinity.nc" target="_blank">salinity.nc</a> <a href="http://temperature.nc" target="_blank">
temperature.nc</a> <a href="http://uwnd.nc" target="_blank">uwnd.nc</a> <a href="http://vwnd.nc" target="_blank">
vwnd.nc</a> <a href="http://output-file.nc" target="_blank">output-file.nc</a><br>
&gt; Regards,<br>
&gt; Roger Torres<br>
&gt;<br>
&gt; Roger Rodrigues Torres<br>
&gt; Professor Auxiliar I<br>
&gt; Universidade Federal de Itajubá - Unifei<br>
&gt; Instituto de Recursos Naturais - IRN<br>
&gt; Curriculum Lattes: <a href="http://lattes.cnpq.br/5641165392004404" target="_blank">
http://lattes.cnpq.br/5641165392004404</a><br>
&gt; Webpage: <a href="http://rtorres.webnode.com.br" target="_blank">http://rtorres.webnode.com.br</a><br>
&gt;<br>
&gt;<br>
&gt; 2013/12/15 fereshteh komijani &lt;<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</a>&gt;<br>
&gt;<br>
&gt; dear<br>
&gt; i am a newbie. i have 4 netcdf files which all of them have same time steps (1460). but every one is for different variables (one for salinity, one for temperature and two of them for wind speed components). i should combine them in one netcdf file. it means
 that i should create one netcdf file for 1460 time step which has salinity, temperature and wind speed component. would you please guide me how i can do that. i have installed OCD and NCL.<br>
&gt; cheers<br>
&gt; fereshte<br>
&gt; --<br>
&gt; **Angel**<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; **Angel**<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<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>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div style="text-align:center"><font style="background-color:#cc33cc" size="4" color="#ffffff" face="comic sans ms,sans-serif"><strong>**Angel**</strong></font></div>
<div style="text-align:center"> </div>
<div style="text-align:center"><span><strong><u><font style="background-color:#3333ff" size="4" color="#ffff33" face="Arial Narrow"></font></u></strong></span> </div>
</div>
</div>
</div></div></div>
</div>
</div>
</div>
</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"><br>-- <br><div style="text-align:center"><font style="background-color:#cc33cc" size="4" color="#ffffff" face="comic sans ms,sans-serif"><strong>**Angel**</strong></font></div>


<div style="text-align:center"> </div>
<div style="text-align:center"><span><strong><u><font style="background-color:#3333ff" size="4" color="#ffff33" face="Arial Narrow"></font></u></strong></span> </div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:center"><font style="background-color:#cc33cc" color="#ffffff" size="4" face="comic sans ms,sans-serif"><strong>**Angel**</strong></font></div>

<div style="text-align:center"> </div>
<div style="text-align:center"><span><strong><u><font style="background-color:#3333ff" color="#ffff33" size="4" face="Arial Narrow"></font></u></strong></span> </div>
</div>