FMS  2024.03
Flexible Modeling System
horiz_interp_new Interface Reference

Allocates space and initializes a derived-type variable that contains pre-computed interpolation indices and weights. More...

Private Member Functions

 horiz_interp_new_1d_dst_r4
 
 horiz_interp_new_1d_dst_r8
 
 horiz_interp_new_1d_r4
 
 horiz_interp_new_1d_r8
 
 horiz_interp_new_1d_src_r4
 
 horiz_interp_new_1d_src_r8
 
 horiz_interp_new_2d_r4
 
 horiz_interp_new_2d_r8
 

Detailed Description

Allocates space and initializes a derived-type variable that contains pre-computed interpolation indices and weights.

Allocates space and initializes a derived-type variable that contains pre-computed interpolation indices and weights for improved performance of multiple interpolations between the same grids. This routine does not need to be called if you are doing a single grid-to-grid interpolation.

Parameters
lon_inLongitude (in radians) for source data grid. You can pass 1-D lon_in to represent the geographical longitude of regular lon/lat grid, or just pass geographical longitude(lon_in is 2-D). The grid location may be located at grid cell edge or center, decided by optional argument "grid_at_center".
lat_inLatitude (in radians) for source data grid. You can pass 1-D lat_in to represent the geographical latitude of regular lon/lat grid, or just pass geographical latitude(lat_in is 2-D). The grid location may be located at grid cell edge or center, decided by optional argument "grid_at_center".
lon_outLongitude (in radians) for destination data grid. You can pass 1-D lon_out to represent the geographical longitude of regular lon/lat grid, or just pass geographical longitude(lon_out is 2-D). The grid location may be located at grid cell edge or center, decided by optional argument "grid_at_center".
lat_outLatitude (in radians) for destination data grid. You can pass 1-D lat_out to represent the geographical latitude of regular lon/lat grid, or just pass geographical latitude(lat_out is 2-D). The grid location may be located at grid cell edge or center, decided by optional argument "grid_at_center".
verboseInteger flag that controls the amount of printed output. verbose = 0, no output; = 1, min,max,means; = 2, still more
interp_methodinterpolation method, = "conservative", using conservation scheme, = "bilinear", using bilinear interpolation, = "spherical",using spherical regrid. = "bicubic", using bicubic interpolation. The default value is "convervative".
src_moduloIndicate the source data grid is cyclic or not.
grid_at_centerIndicate the data is on the center of grid box or the edge of grid box. When true, the data is on the center of grid box. default vaule is false. This option is only available when interp_method = "bilinear" or "bicubic".
InterpA derived-type variable containing indices and weights used for subsequent interpolations. To reinitialize this variable for a different grid-to-grid interpolation you must first use the "horiz_interp_del" interface.

Definition at line 126 of file horiz_interp.F90.


The documentation for this interface was generated from the following file: