<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi
<div><span style="font-size: 10pt;">you can use</span>
<div><br>
</div>
<div>cdo selvar,<variable_name> <input_file> <output_file></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-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF569371" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] on behalf of fereshteh komijani [fereshtehkomijani@gmail.com]<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 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">
<<a href="mailto:andfried@berkeley.edu" target="_blank">andfried@berkeley.edu</a>></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 class="HOEnZb"><font color="#888888"><br>
Andrew<br>
</font></span>
<div class="HOEnZb">
<div class="h5"><br>
On Dec 15, 2013, at 6:20 AM, Roger Rodrigues Torres <<a href="mailto:roger.torres@cptec.inpe.br" target="_blank">roger.torres@cptec.inpe.br</a>> wrote:<br>
<br>
> Dear Fereshte, great!<br>
> Mergetime is to combine different time-slices of the same variable.<br>
> Cheers,<br>
> Roger Torres<br>
><br>
> Roger Rodrigues Torres<br>
> Professor Auxiliar I<br>
> Universidade Federal de Itajubá - Unifei<br>
> Instituto de Recursos Naturais - IRN<br>
> Curriculum Lattes: <a href="http://lattes.cnpq.br/5641165392004404" target="_blank">
http://lattes.cnpq.br/5641165392004404</a><br>
> Webpage: <a href="http://rtorres.webnode.com.br" target="_blank">http://rtorres.webnode.com.br</a><br>
><br>
> 2013/12/15 fereshteh komijani <<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</a>><br>
><br>
> dear Roger<br>
> many many thanks. i was on wrong , i was used mergetime instead of merge command.<br>
> you help me so much<br>
> all the best<br>
> fereshte<br>
><br>
><br>
> On Sun, Dec 15, 2013 at 5:26 PM, Roger Rodrigues Torres <<a href="mailto:roger.torres@cptec.inpe.br" target="_blank">roger.torres@cptec.inpe.br</a>> wrote:<br>
> Dear Fereshte,<br>
> 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>
> Once CDO installed, just type in the terminal:<br>
> > 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>
> Regards,<br>
> Roger Torres<br>
><br>
> Roger Rodrigues Torres<br>
> Professor Auxiliar I<br>
> Universidade Federal de Itajubá - Unifei<br>
> Instituto de Recursos Naturais - IRN<br>
> Curriculum Lattes: <a href="http://lattes.cnpq.br/5641165392004404" target="_blank">
http://lattes.cnpq.br/5641165392004404</a><br>
> Webpage: <a href="http://rtorres.webnode.com.br" target="_blank">http://rtorres.webnode.com.br</a><br>
><br>
><br>
> 2013/12/15 fereshteh komijani <<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</a>><br>
><br>
> dear<br>
> 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>
> cheers<br>
> fereshte<br>
> --<br>
> **Angel**<br>
><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>
><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>
><br>
><br>
><br>
><br>
> --<br>
> **Angel**<br>
><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>
><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>
<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 color="#ffffff" size="4" face="comic sans ms,sans-serif" style="background-color:#cc33cc"><strong>**Angel**</strong></font></div>
<div style="text-align:center"> </div>
<div style="text-align:center"><span><strong><u><font color="#ffff33" size="4" face="Arial Narrow" style="background-color:#3333ff"></font></u></strong></span> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>