xoa.interp.cellave1d

xoa.interp.cellave1d(vari, yib, yob, eshapes, extrap='no', conserv=False)[source]

Cell average regrid. of nD data along an axis with varying coordinates

Warning

nxi must be either a multiple or a divisor of nxo, and multiple of nxiy.

Parameters:
  • vari (array_like(nxi, nyi)) –

  • yib (array_like(nxiy, nyi+1)) –

  • yob (array_like(nxo, nyo+1)) –

Returns:

array_like(nx, nyo) (varo) – With nx=max(nxi, nxo)