[gradsusr] average over list of t not range

saeed bayat saeedbayat7276 at gmail.com
Tue May 17 11:51:09 EDT 2011


Hi James
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:
for make a file include average all of files: ncra 1.nc 2.nc 3 .nc 4.nc 5.nc
output.nc
for create a file include time series of all files: ncrcat 1.nc 2.nc 3.nc
4.nc output.nc

regards

Saeed Bayat
M.Sc Student of Climatology
Ferdowsi University of Mashhad(Iran)
saeedbayat7276 at gmail.com

On Tue, May 17, 2011 at 12:49 PM, James Ciarlo` <james.ciarlo at physics.org>wrote:

> Dear gradsusrs,
>
> 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?
>
> 00Z01AUG1984
> 00Z01OCT1986
> 00Z01DEC1989
> 00Z01JUL1990
> 00Z01DEC1992
> 00Z01FEB1993
> 00Z01FEB1994
> 00Z01JUN1995
> 00Z01APR1998
> 00Z01SEP1998
> 00Z01MAY2001
> 00Z01JUN2001
> 00Z01NOV2007
> 00Z01APR2008
> 00Z01NOV2008
> 00Z01FEB2009
> 00Z01JUL2009
>
>
> Regards,
>
> James
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110517/b42ff3ca/attachment-0003.html 


More information about the gradsusr mailing list