Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BaseGrid __eq__ method no longer uses elementwise comparison (#82)
If grids are not equal, numpy throws a Deprecation warning for elementwise comparison: ``` /home/charriso/micromamba/envs/ascat_env/lib/python3.8/site-packages/numpy/ma/core.py:4123: DeprecationWarning: elementwise comparison failed; this will raise an error in the future. check = compare(sdata, odata) ``` Using np.array_equal(arr1, arr2) rather than np.all(arr1==arr2) should fix this
- Loading branch information