Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • EnPT EnPT
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 32
    • Issues 32
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • EnMAPEnMAP
  • GFZ_Tools_EnMAP_BOX
  • EnPTEnPT
  • Issues
  • #77
Closed
Open
Issue created Mar 23, 2021 by Daniel Scheffler@danschefOwner

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.

Assignee
Assign to
Time tracking