Changing a four dimensional array into a three dimensional array

From: Thomas Beers <thomas.beers_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 25 2013 - 12:54:20 MDT

Hello,

I'm having a problem changing a four dimesional array into a three dimensional array. I have pulled out the March April May mean sea level pressure variable for all lat, lon, and time steps, and now I am trying to populate a new 3d array with these values (I'm doing this to correlate with a timeseries that is in a three dimensional array).

Here is the script:

Look at line 62.

Here is one of the files i'm loading to run the script (can't include the ERA-Interim file, it's 250 mb):

1979 177.75
1980 200.28
1981 62.84
1982 147.30
1983 176.53
1984 108.97
1985 104.91
1986 171.52
1987 113.96
1988 156.10
1989 219.68
1990 196.14
1991 81.61
1992 102.16
1993 166.21
1994 84.10

and this is the error:

fatal:Dimension size mismatch on subscript #0, left-hand and right-hand side dimensions do not match
fatal:Execute: Error occurred at or near line 62 in file Correlation2.ncl

Thank you very much for any help in advance!!!!

-Tom

Thomas Beers
Climate Change Institute
University of Maine

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

Received on Thu Apr 25 12:54:32 2013

This archive was generated by hypermail 2.1.8 : Fri Apr 26 2013 - 17:10:25 MDT