FMS
2024.03
Flexible Modeling System
|
Allocates space and initializes a derived-type variable that contains pre-computed interpolation indices and weights. More...
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.
lon_in | Longitude (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_in | Latitude (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_out | Longitude (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_out | Latitude (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". |
verbose | Integer flag that controls the amount of printed output. verbose = 0, no output; = 1, min,max,means; = 2, still more |
interp_method | interpolation method, = "conservative", using conservation scheme, = "bilinear", using bilinear interpolation, = "spherical",using spherical regrid. = "bicubic", using bicubic interpolation. The default value is "convervative". |
src_modulo | Indicate the source data grid is cyclic or not. |
grid_at_center | Indicate 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". |
Interp | A 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.