Interpolate from observation space to model grid


INTERFACE:

   subroutine gridinterpol(N,cols,obs_z,obs_prof,nlev,model_z,model_prof)
DESCRIPTION:

This is a utility subroutine in which observational data, which might be given on an arbitrary, but structured grid, are linearly interpolated and extrapolated to the actual (moving) model grid.


USES:

   IMPLICIT NONE
INPUT PARAMETERS:
   integer,  intent(in)                :: N,cols
   REALTYPE, intent(in)                :: obs_z(0:N),obs_prof(0:N,cols)
   integer,  intent(in)                :: nlev
   REALTYPE, intent(in)                :: model_z(0:nlev)
OUTPUT PARAMETERS:
   REALTYPE, intent(out)               :: model_prof(0:nlev,cols)
REVISION HISTORY:
   Original author(s): Karsten Bolding & Hans Burchard



Karsten Bolding 2012-12-28