Re: array_expansion

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 6 Aug 2009 13:33:30 -0600

Hi Aaron,

You can use:

  time2400 = ndtooned(conform_dims((/200,12/),time,1))

--Mary

On Aug 6, 2009, at 1:07 PM, Aaron Goldner wrote:

> Hi,
>
> If I have an array dimensioned
>
> time =12
> lat = all lats
> lon = all lons
>
> Is there a way to expand the 12 months into 2400 months just by
> copying the first 12 months over the entire array in order? So in
> the end of I would have time = 2400, with just the 12 months
> propagated and expanded over the new array?
>
> Thank you,
> Aaron Goldner
>
>
>
> Get free photo software from Windows Live Click here.
> _______________________________________________
> 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 Aug 06 2009 - 13:33:30 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 10 2009 - 07:47:37 MDT