Пример #1
0
 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))
Пример #2
0
 def test_rgrid2rcm_float32_nan(self):
     nt.assert_array_almost_equal(
         fo_nan_expected,
         rgrid2rcm(lat, lon, fi_nan.astype(np.float32), lat2d, lon2d))
Пример #3
0
 def test_rgrid2rcm_float64_nom(self):
     nt.assert_array_almost_equal(
         fo_nom_expected,
         rgrid2rcm(lat, lon, fi_nom.astype(np.float64), lat2d, lon2d))