-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
daskRelating to the use of DaskRelating to the use of Dask
Description
Un-comment to re-add the following test, deactivated in #300, under the test_Data_log unit test, which can be done with the corresponding assertions passing once __itruediv__ is converted ('mask' in the true comment below should read '__itruediv__', that's a copy-and-paste typo):
cf-python/cf/test/test_Data.py
Lines 3393 to 3401 in 0206338
| # Test an arbitrary base, using 4 (not a special managed case like 10) | |
| # TODODASK: reinstate this assertion once mask property is | |
| # daskified. | |
| # a = np.array([[4, 16, 4**3.5], [0, 1, 0.25]]) | |
| # b = np.log(a) / np.log(4) # the numpy way, using log rules from school | |
| # c = cf.Data(a, "s") | |
| # d = c.log(base=4) | |
| # self.assertTrue((d.array == b).all()) | |
| # self.assertEqual(d.shape, b.shape) |
davidhassell
Metadata
Metadata
Assignees
Labels
daskRelating to the use of DaskRelating to the use of Dask