biggus
biggus copied to clipboard
:no_entry: [DEPRECATED] Virtual large arrays and lazy evaluation.
Many people use biggus underneath iris to work with NetCDF data. If an HDF5 library that is not thread-safe is used, erros can be generated (e.g., scitools/iris#2063). This could be...
``` >>> import biggus >>> import numpy as np >>> a = np.arange(5) >>> b = biggus.NumpyArrayAdapter(a) >>> c = b[((1,),)] >>> c.ndarray() Traceback (most recent call last): File "",...
The tests seem to assert that some behaviour "works", but this behaviour is deprecated in NumPy: ``` test_getitem (biggus.tests.test_adapter.TestNumpyAdapter) ... .../biggus/build/lib/biggus/_init.py:1471: VisibleDeprecationWarning: boolean index did not match indexed array along...
At least "mean"... ... but consider: count, gmean, hmean, max, median, min, percentile, proportion, std_dev, sum, and variance.