Пример #1
0
 def test_lon_lat_trt(self):
     pmf = disagg.lon_lat_trt_pmf(self.matrix)
     self.aae(
         pmf,
         [
             [[0.999805340359, 0.999470893656, 1.0], [0.999998665328, 0.999969082487, 0.999980380612]],
             [[0.999447922645, 0.999996344798, 0.999999678475], [0.999981572755, 0.999464007617, 0.999983196102]],
         ],
     )
Пример #2
0
 def test_lon_lat_trt(self):
     pmf = disagg.lon_lat_trt_pmf(self.matrix)
     self.aae(pmf, [[[0.999805340359, 0.999470893656, 1.0],
                     [0.999998665328, 0.999969082487, 0.999980380612]],
                    [[0.999447922645, 0.999996344798, 0.999999678475],
                     [0.999981572755, 0.999464007617, 0.999983196102]]])
Пример #3
0
 def test_lon_lat_trt(self):
     pmf = disagg.lon_lat_trt_pmf(self.matrix)
     self.aae(pmf, [[[4.34, 4.86, 4.77], [6.35, 5.00, 6.24]], [[4.81, 6.59, 6.34], [5.75, 4.58, 5.23]]])