array reduction

From: Brian Jamison <brian.d.jamison_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 20 2013 - 13:36:55 MDT

I was wondering if there is a clever way to get every other element of a 2D array, and put it
in a new array. I have a global data file at 1/12 degree resolution and would like to make one
at 1/6 degree resolution. I know I can do this in a nested loop, but it might be pretty slow
(over 900000 points).

Any help you can give is greatly appreciated.



ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Jun 20 13:37:23 2013

This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT