Exemplo n.º 1
0
def get_bottom(varz, mask, spval=1e37):

    assert len(varz.shape) == 3, "var must be 3D"

    N = varz.shape[0]
    jj = varz.shape[1]
    ii = varz.shape[2]

    bottom = spval * np.ones((jj, ii))

    bottom[:, :] = _interp.get_bottom(varz, mask, spval)

    return bottom
Exemplo n.º 2
0
def get_bottom(varz, mask, spval=1e37):

    assert len(varz.shape) == 3, 'var must be 3D'

    N = varz.shape[0]
    jj = varz.shape[1]
    ii = varz.shape[2]

    bottom = spval * np.ones((jj, ii))

    bottom[:, :] = _interp.get_bottom(varz, mask, spval)

    return np.int(bottom)