Re: output time series of a variable

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 12 2012 - 19:55:06 MST

How do you want to write is out?

   do nl=0,nlat-1
     do ml=0,mlon-1
        fname = "time_series."+sprinti("%0.3i", nl)+"x"+sprinti("%0.3i",
ml)
        asciiwrite(fname, X(:,nl,ml) )
     end do
   end do

On 1/12/12 2:25 PM, Xiaoyan Ma wrote:
> Hi,
>
> For a 3-d variable X(ntime, nlat, nlon), how to output time series of X
> values at any given latitude and longitude?
>
> Can anybody help me? thanks,
>
> Xiaoyan
>
>
>
> _______________________________________________
> 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 Jan 12 19:55:18 2012

This archive was generated by hypermail 2.1.8 : Wed Jan 18 2012 - 09:21:55 MST