[ncl-talk] Combine Array
Walter Kolczynski
walter.kolczynski at noaa.gov
Fri Jun 12 16:25:16 MDT 2015
array_append_record should do what you're looking for. For this specific
example, you could also just pass in an array of the indexes you want
instead of making the two intermediate arrays.
- Walter
On 12-Jun-15 18:20, Taufik Samudra wrote:
>
> Hello,
> I have variable a(time=30,lat=80,lon=180)
> I want to get a new variabel like
> x1=a(0,:,:)
> x2 =a(2:29,:,:)
> how to combine x1 and x2 and get a new variabel?x1 and x2 has
> difereent amount for dimentiobln time.. Is it possible in NCL?
> this for my project about cross validation
> thanks..
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
Walter Kolczynski, Jr.
Global Ensemble Team
NOAA/NWS/NCEP/EMC (via I.M. Systems Group)
(301) 683-3781
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150612/a0c3ed06/attachment.html
More information about the ncl-talk
mailing list