DeprecationWarning regarding deprecated numpy data types coming from pyresample.
/home/gfz-fe/miniconda3/envs/enpt_polymer/lib/python3.9/site-packages/pyresample/kd_tree.py:459: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations valid_output_index = valid_output_index.astype(np.bool)
Note that this was fixed in pyresample 1.18 (see here). We only still have this in EnPT because pyresample is pinned to <1.17 due to an incompatibility related with the bilinear resampler (see here).
We need another way to workaround that incompatibility without pinning pyresample.