James,<br>If your list of times is truly irregular (i.e., there is no mathematical pattern that can be used to shorthand the list, even if pointwise) then you will have to list out each of the times or files to get your average.<br>
<br>Jeff Duda<br><br><div class="gmail_quote">On Tue, May 17, 2011 at 2:41 PM, James Ciarlo` <span dir="ltr">&lt;<a href="mailto:james.ciarlo@physics.org">james.ciarlo@physics.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
you misunderstand me. I have two files, <a href="http://uwind.nc" target="_blank">uwind.nc</a>, <a href="http://vwind.nc" target="_blank">vwind.nc</a> and I want to produce a spatial plot (lon = 35 68, lat = 0 75) of u;v for each of these time values and average out the result. I have more lists, so typing out define for each time value and then using x+y+...+z/n is not really a good option<br>


<br>can anyone help me out?<br><br><div class="gmail_quote">On 17 May 2011 17:51, saeed bayat <span dir="ltr">&lt;<a href="mailto:saeedbayat7276@gmail.com" target="_blank">saeedbayat7276@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">

Hi James<br>If you work in linux environment, you can use these command for create a file with time series or a file that is average of several files: <br>for make a file include average all of files: ncra <a href="http://1.nc" target="_blank">1.nc</a> <a href="http://2.nc" target="_blank">2.nc</a> 3 .nc <a href="http://4.nc" target="_blank">4.nc</a> <a href="http://5.nc" target="_blank">5.nc</a>  <a href="http://output.nc" target="_blank">output.nc</a><br>



for create a file include time series of all files: ncrcat <a href="http://1.nc" target="_blank">1.nc</a> <a href="http://2.nc" target="_blank">2.nc</a> <a href="http://3.nc" target="_blank">3.nc</a> <a href="http://4.nc" target="_blank">4.nc</a> <a href="http://output.nc" target="_blank">output.nc</a><br>



<br>regards<br><br>Saeed Bayat<br>M.Sc Student of Climatology<br>Ferdowsi University of Mashhad(Iran)<br><a href="mailto:saeedbayat7276@gmail.com" target="_blank">saeedbayat7276@gmail.com</a> <br><br><div class="gmail_quote">


<div><div></div><div>On Tue, May 17, 2011 at 12:49 PM, James Ciarlo` <span dir="ltr">&lt;<a href="mailto:james.ciarlo@physics.org" target="_blank">james.ciarlo@physics.org</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>Dear gradsusrs,<br><br>I want to produce the average of several irregular lists of time stamps for u and v wind. Now I know that normally one can use d ave(u,time=00Z01JAN1985,time=00Z01JAN1990) for example but I want to consider only the dates listed below. How can I do this?<br>





<br>00Z01AUG1984<br>00Z01OCT1986<br>00Z01DEC1989<br>00Z01JUL1990<br>00Z01DEC1992<br>00Z01FEB1993<br>00Z01FEB1994<br>00Z01JUN1995<br>00Z01APR1998<br>00Z01SEP1998<br>00Z01MAY2001<br>00Z01JUN2001<br>00Z01NOV2007<br>00Z01APR2008<br>





00Z01NOV2008<br>00Z01FEB2009<br>00Z01JUL2009<br><br><br>Regards,<br><font color="#888888"><br>James<br>
</font><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>
<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><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</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><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>