You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug/issue
When loading WOFS data Datacube.load uses np.bool, which is deprecated in newer version of numpy and therefore loading WOFS data produces an error.
Steps to reproduce
Steps to reproduce the behaviour:
Load WOFS data using the recommended steps:
wo = dc.load(product='ga_ls_wo_3',
group_by='solar_day',
fuse_func=wofs_fuser,
like=MyData)
Expected behaviour
An error that has the end description of:
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Describe the bug/issue
When loading WOFS data Datacube.load uses np.bool, which is deprecated in newer version of numpy and therefore loading WOFS data produces an error.
Steps to reproduce
Steps to reproduce the behaviour:
Load WOFS data using the recommended steps:
wo = dc.load(product='ga_ls_wo_3',
group_by='solar_day',
fuse_func=wofs_fuser,
like=MyData)
Expected behaviour
An error that has the end description of:
Environment information
DEA Sandbox (https://docs.dea.ga.gov.au/setup/sandbox.html)
The text was updated successfully, but these errors were encountered: