MODULE getGridPosition_mod (prefix=’gpos’ category=’8. Low-level utilities and constants’)
Purpose
A place to collect numerous interpolation related routines.
The main task of the module is to compute the grid XY position from a lat-lon.
This simply calls the ezsint routine gdxyfll for simple grids. For
Yin-Yan grids it calls the function gpos_xyfll_yinYangGrid
(see below in this module). There is also support for
RPN Y grids, in which case it calls the subroutine gpos_xyfll_unstructGrid.
Compute the grid XY position from a lat-lon. This
simply calls the ezsint routine gdxyfll for simple grids. For
Yin-Yan grids it calls the function gpos_xyfll_yinYangGrid
(see below in this module). There is also support for
RPN Y grids, in which case it calls the subroutine gpos_xyfll_unstructGrid.
Compute the grid XY position from a lat-lon for a Yin-Yang grid.
It returns locations from both the Yin and Yang
subgrids when in the overlap region, depending on the logical
variable useSingleValueOverlap.