Re: Get var multiple times

From: Brandon Fisel <bjfisel_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 22 2010 - 19:23:02 MDT

Paula,

If your variable is dimensioned T(time,lat,lon) then:
f->T(5:10,:,:)

Then use dim_avg on f.

-------------------------------------------------------------
Brandon Fisel

On Thu, Apr 22, 2010 at 20:11, Paula Doubrawa Moreira
<pmoreira@alaska.edu>wrote:

> Hey all
>
> I'm having a hard time getting a variable from a file in some specific
> times to create a time average (let's say from time 5 to time 10).
>
> I can't use an array (e.g. it = ispan (5,10,1) ) in wrf_user_getvar nor
> while using f->T.
>
> Is there any way that I can extract out of a file a variable X from time Y1
> to Y2 and store that to then use dim_avg_n(X,0) ?
>
> I hope I was clear enough.
> Thank you so much!
> -paula
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 22 19:23:13 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT