resizing array

From: Manoharan, Vani Starry <vmanoharan_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 30 2011 - 10:00:02 MST

Hi,

I am trying to change an array of size (180X360) to (46,72) by averaging the data. I see that NCL does not have a function by itself to do this unlike IDL (CONGRID & RESIZE). Please see my ncl script attached. If I run this, it give sme the following error
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
warning:avg: Entire input array contains missing values, can't compute average
fatal:Subscript out of range, error in subscript #1
fatal:Execute: Error occurred at or near line 44 in file test1.ncl

Could you please help me with this.

My NCL script is attached as file.
Thanks.
Starry

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Wed Nov 30 10:00:14 2011

This archive was generated by hypermail 2.1.8 : Wed Nov 30 2011 - 19:52:47 MST