def getHHTransit(HH):
    assert (HH <= 22), 'Hour should not be over 22.'
    dataPATH = '../interpo_data/'
    date = '20111020'
    R = getGridTransit(((dataPATH + date) + 'tokyo_meshtransit10min_1min_15.csv'))
    R = R[(HH * 6):((HH * 6) + 6), :, :, :]
    R = R.reshape(R.shape[0], (- 1), R.shape[(- 1)])
    R = R.transpose(1, 0, 2)
    R = R.reshape(R.shape[0], R.shape[1], int((R.shape[2] ** 0.5)), int((R.shape[2] ** 0.5)), 1)
    return R
def getHHTransit(HH):
    assert (HH <= 22), 'Hour should not be over 22.'
    dataPATH = '../interpo_data/'
    date = '20111020'
    R = getGridTransit(((dataPATH + date) + 'tokyo_meshtransit10min_1min_15.csv'))
    R = R[(HH * 6):((HH * 6) + 6), :, :, :]
    R = R.reshape(R.shape[0], (- 1), R.shape[(- 1)])
    R = R.transpose(1, 0, 2)
    R = R.reshape(R.shape[0], R.shape[1], int((R.shape[2] ** 0.5)), int((R.shape[2] ** 0.5)), 1)
    return R