PUBLIC INTERFACE ~ PUBLIC DATA ~ PUBLIC ROUTINES ~ NAMELIST ~ DIAGNOSTIC FIELDS ~ ERROR MESSAGES ~ REFERENCES ~ NOTES

Module horiz_interp_type_mod

Contact:  Zhi Liang
Reviewers: 
Change History: WebCVS Log


OVERVIEW

define derived data type that contains indices and weights used for subsequent interpolations.

define derived data type that contains indices and weights used for subsequent interpolations.


OTHER MODULES USED

mpp_mod

PUBLIC INTERFACE



PUBLIC DATA

None.


PUBLIC ROUTINES


    PUBLIC TYPES

     type horiz_interp_type
       real,    dimension(:,:), pointer   :: faci =>NULL(), facj =>NULL()   !weights for conservative scheme
       integer, dimension(:,:), pointer   :: ilon =>NULL(), jlat =>NULL()   !indices for conservative scheme
       real,    dimension(:,:), pointer   :: area_src =>NULL()              !area of the source grid
       real,    dimension(:,:), pointer   :: area_dst =>NULL()              !area of the destination grid
       real,    dimension(:,:,:), pointer :: wti =>NULL(),wtj =>NULL()      !weights for bilinear interpolation 
       integer, dimension(:,:,:), pointer :: i_lon =>NULL(), j_lat =>NULL() !indices for bilinear interpolation 
                                                                            !and spherical regrid
       real,    dimension(:,:,:), pointer :: src_dist =>NULL()              !distance between destination grid and 
                                                                            !neighbor source grid.
       logical, dimension(:,:), pointer   :: found_neighbors =>NULL()       !indicate whether destination grid 
                                                                            !has some source grid around it.
       real                               :: max_src_dist
       integer, dimension(:,:), pointer   :: num_found => NULL()
       integer                            :: nlon_src, nlat_src !size of source grid
       integer                            :: nlon_dst, nlat_dst !size of destination grid
       integer                            :: interp_method      !interpolation method.
                                                                !=1, conservative scheme
                                                                !=2, bilinear interpolation
                                                                !=3, spherical regrid
     end type


    DATA SETS

    None.


    ERROR MESSAGES

    None.


    top