Project

General

Profile

intlevel, intlevel3d ยป example.sh

Joana DeMedeiros, 2011-11-29 18:19

 

Let PHPHB = PH(:,:,:,:)+PHB(:,:,:,:), with 27 vertical levels. We want to interpolate to 26 vertical levels. Like this

PHPB(:,3,:,:)=((PHPB(:,3,:,:)+PHPB(:,4,:,:))/2

PHPB(:,4,:,:)=((PHPB(:,4,:,:)+PHPB(:,5,:,:))/2

PHPB(:,5,:,:)=((PHPB(:,5,:,:)+PHPB(:,6,:,:))/2
    (1-1/1)