xarray-contrib / flox

Fast & furious GroupBy operations for dask.array
https://flox.readthedocs.io
Apache License 2.0
124 stars 18 forks source link

Add scans #370

Closed dcherian closed 3 months ago

dcherian commented 4 months ago

xref #91, closes #251

dcherian commented 3 months ago

Windows failure should get fixed upstream: https://github.com/ml31415/numpy-groupies/pull/90

_____________________________ test_groupby_reduce _____________________________
[gw2] win32 -- Python 3.12.4 C:\Users\runneradmin\micromamba\envs\flox-tests\python.exe
tests\test_properties.py:85: in test_groupby_reduce
    array=npst.arrays(
tests\test_properties.py:133: in test_groupby_reduce
    assert_equal(expected, actual, tolerance)
C:\Users\runneradmin\micromamba\envs\flox-tests\Lib\contextlib.py:81: in inner
    return func(*args, **kwds)
E   AssertionError: 
E   Not equal to tolerance rtol=1e-07, atol=1e-15
E   
E   Mismatched elements: 1 / 1 (100%)
E   Max absolute difference among violations: 2.1474836e+09
E   Max relative difference among violations: 1.03019744e-07
E    ACTUAL: array([2.084536e+16], dtype=float32)
E    DESIRED: array([2.084536e+16], dtype=float32)
E   Falsifying example: test_groupby_reduce(
E       array=array([3.8751665e+16, 2.3784419e+16, 0.0000000e+00], dtype=float32),
E       dtype=dtype('=i1'),  # or any other generated value
E       func='mean',
E   )