Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: interpolation of 3 and 4 dimensional arrays
Replies: 1   Last Post: Apr 8, 2013 11:35 AM

 Messages: [ Previous | Next ]
 Jonathan W Smith Posts: 90 Registered: 12/17/10
interpolation of 3 and 4 dimensional arrays
Posted: Apr 8, 2013 7:25 AM

Hello:

I have four 4-dimensional arrays. In each of the arrays, there is are x and y dimensions in the horizontal. The 3rd dimension for each array is the vertical. The 4th is time. The size of these dimensions are all the same: 41, 71, 8, 720.

The first array is ozone that varies with that varies horizontally and vertically with pressure. The 2nd array is a pressure array corresponding with the ozone. It shows what the pressure is in horizontally and vertically. The 3rd array is an ozone array that is a different set of ozone data that varies horizontally and vertically. The 4th array is the corresponding pressure array.

o3_a(:,:,:,:)
p_a(:,:,:,:)
o3_b(:,:,:,:)
p_b(:,:,:,:)

The question is: How can I find out how o3_a corresponds with the pressure levels in p_b? Do I need to interpolate? How do interpolate arrays like these?

Thanks
Jonathan

Date Subject Author
4/8/13 Jonathan W Smith
4/8/13 dpb