<div dir="ltr">hi,<div><br></div><div>I also faced that problem at the beginning. Just install CDO from source by following the instruction given there. </div><div><br></div><div>Cheers,</div><div><br>
</div><div>Kishore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 9:25 AM, 2008 duan <span dir="ltr"><<a href="mailto:duan.scut.cn@gmail.com" target="_blank">duan.scut.cn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,Thank you everyone!<div><br></div><div>But I faced another problem as the following figure</div><div><img alt="Inline image 1"></div>
<div><br></div><div>Unsupported file type?? I have already installed the "<a href="https://code.zmaw.de/versions/show/140" style="color:rgb(0,77,68);text-decoration:initial;padding-left:20px;padding-top:2px;padding-bottom:3px;background-image:url();font-family:Verdana,sans-serif;font-size:12px;font-weight:bold;white-space:nowrap;background-repeat:no-repeat no-repeat" target="_blank">libs4cdo-0.0.10</a>", and then installed the CDO. Of course, I have configured everything according to the manual as follows.</div>
<div>I <img alt="Inline image 2"></div><div><br></div><div>Do I need to put the <a href="https://code.zmaw.de/versions/show/140" style="color:rgb(0,77,68);text-decoration:initial;padding-left:20px;padding-top:2px;padding-bottom:3px;background-image:url();font-family:Verdana,sans-serif;font-size:12px;font-weight:bold;white-space:nowrap;background-repeat:no-repeat no-repeat" target="_blank">libs4cdo-0.0.10</a> into the cdo-1.5.9? I thought it already supports the NC files.</div>
<div><br></div><div>So, how can I solve this problem. Thank you very much!</div><div><br></div><div>Best regards!</div><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 12:19 AM, Serge Claudio Rafanoharana <span dir="ltr"><<a href="mailto:rafanoharana@gmail.com" target="_blank">rafanoharana@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>Please refer to the CDO manual (attached). You can have a look at mergetime (mentioned by Kishore), cdo info or cdo infon (will give you min, mean, max, ...) and the std also is there.<br>
<br>Hope it can help.<br>
<br>Cheers,<br>Serge<br><br> <br><br><div class="gmail_quote"><div>On Mon, Jan 7, 2013 at 8:54 PM, Kishore Babu <span dir="ltr"><<a href="mailto:kishoreragi@gmail.com" target="_blank">kishoreragi@gmail.com</a>></span> wrote:<br>
</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>you can play very easily with nc file with simple handling cdo commands..</div>
<div>
<br></div><div>As per your question, you want to add many files into a single file containing same variable for a longer time. </div>
<div><br></div><div>I hope that you have installed cdo. If yes, just invoke the following command ...</div><div><br></div><div>cdo mergetime <a href="http://input1.nc" target="_blank">input1.nc</a> <a href="http://input2.nc" target="_blank">input2.nc</a> <a href="http://input3.nc" target="_blank">input3.nc</a> ........... <a href="http://output.nc" target="_blank">output.nc</a> </div>
<div><br></div><div>That's it! you are done !!! your output file contains all the time you need..</div><div><br></div><div>Cheers,</div><div><br></div><div>Kishore</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>On Mon, Jan 7, 2013 at 5:49 PM, 2008 duan <span dir="ltr"><<a href="mailto:duan.scut.cn@gmail.com" target="_blank">duan.scut.cn@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>
Dear Everyone,<div><br></div><div> Happy New Year!</div><div><br></div><div> Now I have a question to ask you. Thank you very much!</div><div><br></div><div> <font style="line-height:17px;color:rgb(34,34,34);white-space:pre-wrap;font-family:arial,helvetica,sans-serif">'</font><font style="line-height:17px;color:rgb(34,34,34);white-space:pre-wrap;font-family:arial,helvetica,sans-serif">reinit</font><font style="line-height:17px;color:rgb(34,34,34);white-space:pre-wrap;font-family:arial,helvetica,sans-serif">'</font><pre style="color:rgb(34,34,34);white-space:pre-wrap">
<font face="arial, helvetica, sans-serif"><font style="line-height:17px"><font>'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1981.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1982.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1983.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1984.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1985.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1986.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1987.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1988.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1989.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1990.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1991.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1992.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1993.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1994.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1995.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1996.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1997.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1998.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>1999.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2000.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2001.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2002.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2003.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2004.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2005.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2006.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2007.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2008.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2009.</font><font>nc'
'</font><font>sdfopen</font><font> </font><font>D</font><font>:\TDDOWNLOAD\hgt.</font><font>2010.</font><font>nc'
'</font><font>set</font><font> </font><font>mpdset</font><font> </font><font>hires</font><font>'</font><font>
yr</font><font>=</font><font>1981</font><font>
while</font><font>(</font><font>yr</font><font><=</font><font>2010</font><font>)</font><font>
*******************************************************
*Standard deviation will be caculated</font><font>
'</font><font>set</font><font> </font><font>lat</font><font> </font><font>0</font><font> </font><font>50.5</font><font>'
'</font><font>set</font><font> </font><font>lon</font><font> </font><font>119.5</font><font> </font><font>179.5</font><font>'
'</font><font>define</font><font> </font><font>mean</font><font>=</font><font>ave</font><font>(hgt.'</font><font>yr</font><font>',</font><font>time</font><font>=01JAN'</font><font>yr</font><font>',</font><font>time</font><font>=31DEC'</font><font>yr</font><font>')'
'</font><font>define</font><font> sd=</font><font>sqrt</font><font>(</font><font>ave</font><font>(</font><font>pow</font><font>(hgt.'</font><font>yr</font><font>'-</font><font>mean</font><font>,</font><font>2</font><font>),</font><font>time</font><font>=01JAN'</font><font>yr</font><font>',</font><font>time</font><font>=31DEC'</font><font>yr</font><font>'))'</font><font>
*********************************************************
*This is a skill to plot a </font><font>shaded</font><font> </font><font>map</font><font> with </font><font>contour</font><font> </font><font>on</font><font> it </font><font>
'</font><font>set</font><font> </font><font>grads</font><font> </font><font>off</font><font>'
'</font><font>set</font><font> </font><font>gxout</font><font> </font><font>shaded</font><font>'
'</font><font>d</font><font> sd'
'cbarn'
'</font><font>set</font><font> </font><font>gxout</font><font> </font><font>contour</font><font>'
'</font><font>set</font><font> </font><font>cthick</font><font> </font><font>5</font><font>'
'</font><font>d</font><font> sd'
'</font><font>draw</font><font> </font><font>title</font><font> Standard Deviation of '</font><font>yr</font><font>' '
'</font><font>printim</font><font> </font><font>D</font><font>:\TDDOWNLOAD\'</font><font>yr</font><font>'.png x1000 y800 white'
'</font><font>c</font><font>'</font><font>
yr</font><font>=</font><font>yr</font><font>+</font><font>1</font><font>
endwhile</font><font>
;</font></font>
</font></pre><pre style="color:rgb(34,34,34);white-space:pre-wrap"><font style="line-height:17px"><font face="arial, helvetica, sans-serif">I donot know where are the wrongs. I want to figure out the mean and SD between 1981 to 2010.</font></font></pre>
<pre style="color:rgb(34,34,34);white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><span style="line-height:17px">I want to ask how to combine the files containing <a href="http://hgt.1981.nc" target="_blank">hgt.1981.nc</a> to <a href="http://hgt.2010.nc" target="_blank">hgt.2010.nc</a>. If it is a single file, I think it is easy to figure out the mean and SD.</span></font></pre>
<pre style="color:rgb(34,34,34);white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><span style="line-height:17px">Thank you everyone!</span></font></pre><span><font color="#888888"><div><br></div>
-- <br>
Weili Duan<br>Disaster Prevention Research Institute (DPRI), Kyoto University, Uji, Kyoto <a href="tel:611-0011" value="+626110011" target="_blank">611-0011</a>, Japan<br>TEL: <a href="tel:%2B81-774-38-4131" value="+81774384131" target="_blank">+81-774-38-4131</a> FAX: <a href="tel:%2B81-774-38-4130" value="+81774384130" target="_blank">+81-774-38-4130</a><br>
E-mail: <a href="mailto:duan.scut.cn@gmail.com" target="_blank">duan.scut.cn@gmail.com</a><br>
<a href="mailto:dyuan.weiri.88r@st.kyoto-u.ac.jp" target="_blank">duanwl1986@flood.dpri.kyoto-u.ac.jp</a><a href="mailto:dyuan.weiri.88r@st.kyoto-u.ac.jp" target="_blank"></a>
</font></span></div>
<br></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></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></div></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Serge
</font></span><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>-- <br>Weili Duan<br>Disaster Prevention Research Institute (DPRI), Kyoto University, Uji, Kyoto 611-0011, Japan<br>TEL: <a href="tel:%2B81-774-38-4131" value="+81774384131" target="_blank">+81-774-38-4131</a> FAX: <a href="tel:%2B81-774-38-4130" value="+81774384130" target="_blank">+81-774-38-4130</a><br>
E-mail: <a href="mailto:duan.scut.cn@gmail.com" target="_blank">duan.scut.cn@gmail.com</a><br>
<a href="mailto:dyuan.weiri.88r@st.kyoto-u.ac.jp" target="_blank">duanwl1986@flood.dpri.kyoto-u.ac.jp</a><a href="mailto:dyuan.weiri.88r@st.kyoto-u.ac.jp" target="_blank"></a>
</div>
</div></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>