NASA-AMMOS / NASA-AMMOS/anms

anms-core numpy error

Open
#293 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug CRIT-4
Dominant language
JavaScript
Stars
3
Forks
2
Avg merge
2d 23h
Merged PRs (30d)
2

Description

np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.

The above error is being reported in anms-core logs as an error from anms.routes.transcoder. We are not using numpy directly in anms-core, so this error likely indicates updates are needed for one or more Python dependencies.

I believe this message is only a warning, though it does appear alongside other errors I'm in the process of debugging.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the anms.routes.transcoder path and identify which Python dependency emits the np.float_ message under NumPy 2.0. Review the dependency versions and their compatibility with NumPy 2.0, then verify that the log warning is no longer produced while transcoding.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.