INTERFACE / PUBLIC COMPONENTS /

MODULE model_mod

Contact: Kevin Raeder
Reviewers:  
Revision: $Revision: 1.1 $
Change Date: $Date: 2006/06/30 23:43:05 $
Change history: see CVS log

OVERVIEW

The description of the CAM finite volume (cam-fv) interface is the same as that of Eulerian, except for the following.


PUBLIC INTERFACE

use model_mod, only : model_interpolate2



PUBLIC COMPONENTS

The list of interfaces above is the complete public list for this module.


call model_interpolate2(x, location, obs_type, interp_val, istatus)
real(r8), dimension(:),   intent(in)  ::  x 
type(location_type),      intent(in)  ::  location 
integer,                  intent(in)  ::  obs_type 
real(r8),                 intent(out) ::  interp_val 
integer,                  intent(out) ::  istatus 

Description

Given model state, returns the value of observation type interpolated to a given location by a method of the model's choosing. Currently only observation type KIND_SURFACE_PRESSURE is used. If the interpolation is valid, istatus = 0. In the case where the observational operator is not defined at the given location (e.g. the observation is below the lowest model level or above the top level), interp_val is returned as 0.0 and istatus = 1.

x     Model state vector.
location Location to which to interpolate.
obs_type Integer indexing which type of observation is to be interpolated.
interp_val Value interpolated to location.
istatus Integer flag indicating the success of the interpolation.

Notes