xoa.interp.grid2relloc¶
- xoa.interp.grid2relloc(xxi, yyi, xo, yo)[source]¶
Compute coordinates of point relative to a curvilinear grid
- Parameters
- Returns
float – The integer part gives the grid cell index along the second dim, and the fractional part gives the coordinate relative this cell. A value of -1 means outside the grid.
float – The integer part gives the grid cell index along the first dim, and the fractional part gives the coordinate relative this cell. A value of -1 means outside the grid.