Re: 4D array to 3D array

From: Dave Allured - NOAA Affiliate <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Tue Jul 30 2013 - 13:25:21 MDT

Please consider the reshape function, also ndtooned and onedtond
functions used together.

--Dave

On Tue, Jul 30, 2013 at 12:52 PM, Mahesh Varma <mkmvarma@gmail.com> wrote:
> Hello,
> Is there a function that converts a 4D array to a 3D array in ncl?
> I have a 4D array(Dimensions and sizes: [season | 4] x [time | 115] x [LAT |
> 19] x [LON | 31]). I would like to merge the first two dimensions (i.e.
> season and time) so that the array will have dimensions
> 460(season*time)x19(lat) x31(lon)).
> Thanks.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 30 13:25:34 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:55:04 MDT