def test_rgrid2rcm_float32_msg(self): nt.assert_array_almost_equal( fo_msg_expected, rgrid2rcm(lat, lon, fi_msg.astype(np.float32), lat2d, lon2d, msg=msg32))
def test_rgrid2rcm_float32_nan(self): nt.assert_array_almost_equal( fo_nan_expected, rgrid2rcm(lat, lon, fi_nan.astype(np.float32), lat2d, lon2d))
def test_rgrid2rcm_float64_nom(self): nt.assert_array_almost_equal( fo_nom_expected, rgrid2rcm(lat, lon, fi_nom.astype(np.float64), lat2d, lon2d))